Skip to content

Commit a599505

Browse files
committed
fix documentation
1 parent a87f135 commit a599505

5 files changed

+10
-7
lines changed

DESCRIPTION

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
Package: ggspatial
22
Type: Package
3-
Title: Spatial data framework for ggplot2
4-
Version: 0.2
3+
Title: Spatial Data Framework for ggplot2
4+
Version: 0.2.1
55
Date: 2017-04-01
66
Author: Dewey Dunnington <[email protected]>
77
Maintainer: Dewey Dunnington <[email protected]>
8-
Description: To be determined.
8+
Description: Spatial data plus the power of the ggplot2 framework means easier mapping when input
9+
data are already in the form of Spatial* objects.
910
License: GPL-3
1011
Depends:
1112
R (>= 2.10),

R/extract-projection.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ as.CRS <- function(x) {
4141
#'
4242
#' The sp package provides a powerful interface with easy syntax for projection Spatial* objects,
4343
#' but raw coordinates are not as straightforward. Use this function to project raw
44-
#' coordinates, and \link[sp]{spTransform} to project Spatial* objects. Not
44+
#' coordinates, and \link[sp]{spTransform} to project Spatial* objects.
4545
#'
4646
#' @param x The x values (or longitude)
4747
#' @param y The y values (or latitude)

R/geom-spraster.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#' df <- fortify(longlake_osm)
2828
#' ggplot(df, aes(x, y, fill = band1)) + geom_raster() +
2929
#' coord_fixed()
30+
#' \donttest{
3031
#' # identical usage with ggraster()
3132
#' ggraster(longlake_osm, aes(fill = band1))
3233
#'
@@ -36,7 +37,7 @@
3637
#' geom_raster() + facet_wrap(~band) +
3738
#' coord_fixed()
3839
#'
39-
#' \donttest{
40+
#'
4041
#' # can use on other raster types as well
4142
#' x <- rosm::osm.raster("gatineau qc")
4243
#' ggraster(x, aes(fill = band1))

man/fortify.Raster.Rd

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/xyTransform.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)