Skip to content

Commit

Permalink
fix: deactivate get_tiles() example due to unpredictable download tim…
Browse files Browse the repository at this point in the history
…e leading to CRAN note/rejection...

CRAN release
  • Loading branch information
rCarto committed Sep 13, 2023
1 parent 005ae55 commit 1e210db
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ message: 'To cite package "maptiles" in publications use:'
type: software
license: GPL-3.0-only
title: 'maptiles: Download and Display Map Tiles'
version: 0.6.0
version: 0.6.1
abstract: To create maps from tiles, 'maptiles' downloads, composes and displays tiles
from a large number of providers (e.g. 'OpenStreetMap', 'Stamen', 'Esri', 'CARTO',
or 'Thunderforest').
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: maptiles
Title: Download and Display Map Tiles
Version: 0.6.0
Version: 0.6.1
Authors@R: c(person(given = "Timothée",
family = "Giraud",
email = "timothee.giraud@cnrs.fr",
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# maptiles 0.6.1

## fix
- deactivate get_tiles() example due to unpredictable download time leading to
CRAN note/rejection...



# maptiles 0.6.0

## fix
Expand Down
3 changes: 2 additions & 1 deletion R/get_tiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
#' st_bbox st_as_sfc st_crs
#' @importFrom tools file_path_sans_ext
#' @examples
#' \dontrun{
#' library(sf)
#' library(maptiles)
#' nc <- st_read(system.file("shape/nc.shp", package = "sf"), quiet = TRUE)
#' nc_osm <- get_tiles(nc, crop = TRUE, zoom = 6)
#' plot_tiles(nc_osm)
#'
#' # Download tiles from a custom url
#' osm_tiles <- create_provider(
#' name = "osm_tiles",
Expand All @@ -74,6 +74,7 @@
#' plot_tiles(nc_osm2)
#' # Add attribution
#' mtext(get_credit(osm_tiles), side = 1, line = -1)
#' }
get_tiles <- function(x,
provider = "OpenStreetMap",
zoom,
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/riatelab/maptiles/",
"issueTracker": "https://github.com/riatelab/maptiles/issues/",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.6.0",
"version": "0.6.1",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -168,5 +168,5 @@
},
"SystemRequirements": null
},
"fileSize": "1154.585KB"
"fileSize": "1154.742KB"
}
3 changes: 2 additions & 1 deletion man/get_tiles.Rd

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

0 comments on commit 1e210db

Please sign in to comment.