Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Apr 1, 2017
1 parent a87f135 commit a599505
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Package: ggspatial
Type: Package
Title: Spatial data framework for ggplot2
Version: 0.2
Title: Spatial Data Framework for ggplot2
Version: 0.2.1
Date: 2017-04-01
Author: Dewey Dunnington <[email protected]>
Maintainer: Dewey Dunnington <[email protected]>
Description: To be determined.
Description: Spatial data plus the power of the ggplot2 framework means easier mapping when input
data are already in the form of Spatial* objects.
License: GPL-3
Depends:
R (>= 2.10),
Expand Down
2 changes: 1 addition & 1 deletion R/extract-projection.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ as.CRS <- function(x) {
#'
#' The sp package provides a powerful interface with easy syntax for projection Spatial* objects,
#' but raw coordinates are not as straightforward. Use this function to project raw
#' coordinates, and \link[sp]{spTransform} to project Spatial* objects. Not
#' coordinates, and \link[sp]{spTransform} to project Spatial* objects.
#'
#' @param x The x values (or longitude)
#' @param y The y values (or latitude)
Expand Down
3 changes: 2 additions & 1 deletion R/geom-spraster.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#' df <- fortify(longlake_osm)
#' ggplot(df, aes(x, y, fill = band1)) + geom_raster() +
#' coord_fixed()
#' \donttest{
#' # identical usage with ggraster()
#' ggraster(longlake_osm, aes(fill = band1))
#'
Expand All @@ -36,7 +37,7 @@
#' geom_raster() + facet_wrap(~band) +
#' coord_fixed()
#'
#' \donttest{
#'
#' # can use on other raster types as well
#' x <- rosm::osm.raster("gatineau qc")
#' ggraster(x, aes(fill = band1))
Expand Down
3 changes: 2 additions & 1 deletion man/fortify.Raster.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/xyTransform.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a599505

Please sign in to comment.