Skip to content

Commit

Permalink
add dontrun on a time consuming example
Browse files Browse the repository at this point in the history
  • Loading branch information
rCarto committed Apr 19, 2020
1 parent 9bd882e commit 62c45c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/dotDensityLayer.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@
#' @export
#' @seealso \link{propSymbolsLayer}
#' @examples
#' \dontrun{
#' library(sf)
#' mtq <- st_read(system.file("gpkg/mtq.gpkg", package="cartography"))
#' plot(st_geometry(mtq), col = "#B8704D50")
#' dotDensityLayer(x = mtq, var="POP", pch=20, col = "red4", n = 200)
#' layoutLayer(title = "Population Distribution in Martinique, 2015")
#' }
dotDensityLayer <- function(x, spdf, df, spdfid = NULL, dfid = NULL, var,
n = NULL,
pch = 1,
Expand Down
2 changes: 2 additions & 0 deletions man/dotDensityLayer.Rd

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

0 comments on commit 62c45c5

Please sign in to comment.