Skip to content

Commit

Permalink
Prepare for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Jul 10, 2023
1 parent 40f1683 commit e3a763b
Show file tree
Hide file tree
Showing 21 changed files with 47 additions and 45 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@
^pkgdown\.yaml$
^pkgdown\.yml$
^\.imgbotconfig$
^\.lintr$
4 changes: 4 additions & 0 deletions .lintr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
linters: linters_with_defaults() # see vignette("lintr")
exclusions: list(
"data-raw"
)
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ message: 'To cite package "mapSpain" in publications use:'
type: software
license: GPL-3.0-only
title: 'mapSpain: Administrative Boundaries of Spain'
version: 0.7.0.9000
version: 0.8.0
doi: 10.5281/zenodo.5366622
abstract: Administrative Boundaries of Spain at several levels (Autonomous Communities,
Provinces, Municipalities) based on the 'GISCO' 'Eurostat' database <https://ec.europa.eu/eurostat/web/gisco>
Expand All @@ -31,7 +31,7 @@ preferred-citation:
orcid: https://orcid.org/0000-0001-8457-4658
affiliation: rOpenSpain
year: '2023'
version: 0.7.0.9000
version: 0.8.0
doi: 10.5281/zenodo.5366622
url: https://ropenspain.github.io/mapSpain/
abstract: Administrative Boundaries of Spain at several levels (Autonomous Communities,
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: mapSpain
Title: Administrative Boundaries of Spain
Version: 0.7.0.9000
Version: 0.8.0
Authors@R:
person("Diego", "Hernangómez", , "diego.hernangomezherrero@gmail.com", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658", affiliation = "rOpenSpain"))
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mapSpain (development version)
# mapSpain 0.8.0

- Improve download of NUTS data from **giscoR**.
- Upgrade `esp_tiles_providers` to
Expand Down
4 changes: 0 additions & 4 deletions R/utils_tiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,8 @@ getwmts <- function(newbbox,
# Special case WMTS
if (isFALSE(grepl("?", url_pieces$q, fixed = TRUE))) {
q <- url_pieces$q
crs <- "epsg:3857"
} else {
q <- paste0(q, paste0(names(rest), "=", rest, collapse = "&"))


crs <- unlist(url_pieces[names(url_pieces) %in% c("crs", "srs", "tilematrixset")])
}

if (verbose) {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ A BibTeX entry for LaTeX users is:
@Manual{R-mapspain,
title = {{mapSpain}: Administrative Boundaries of Spain},
year = {2023},
version = {0.7.0.9000},
version = {0.8.0},
author = {Diego Hernangómez},
doi = {10.5281/zenodo.5366622},
url = {https://ropenspain.github.io/mapSpain/},
Expand Down
6 changes: 3 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"codeRepository": "https://github.com/rOpenSpain/mapSpain",
"issueTracker": "https://github.com/rOpenSpain/mapSpain/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.7.0.9000",
"version": "0.8.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.3.1 (2023-06-16)",
"runtimePlatform": "R version 4.3.1 (2023-06-16 ucrt)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -233,7 +233,7 @@
"applicationCategory": "cartography",
"isPartOf": "https://ropenspain.es/",
"keywords": ["rOpenSpain", "tiles", "r", "maps", "spatial", "rstats", "r-package", "municipalities", "Spain", "gisco", "provinces", "ign", "administrative-boundaries", "ccaa", "static-tiles", "spain", "cran", "ropenspain", "ggplot2", "gis"],
"fileSize": "2704.047KB",
"fileSize": "2714.437KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
Binary file modified data/esp_codelist.rda
Binary file not shown.
Binary file modified data/esp_tiles_providers.rda
Binary file not shown.
Binary file modified data/leaflet.providersESP.df.rda
Binary file not shown.
Binary file modified img/README-giscoR-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/README-static-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/README-tile-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
67 changes: 34 additions & 33 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
# Platform

|field |value |
|:--------|:------------------------------|
|version |R version 4.3.1 (2023-06-16) |
|os |macOS Monterey 12.6.7 |
|system |x86_64, darwin20 |
|ui |X11 |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |UTC |
|date |2023-07-10 |
|pandoc |2.19.2 @ /usr/local/bin/pandoc |
|field |value |
|:--------|:------------------------------------------|
|version |R version 4.3.1 (2023-06-16 ucrt) |
|os |Windows 11 x64 (build 22621) |
|system |x86_64, mingw32 |
|ui |RStudio |
|language |(EN) |
|collate |Spanish_Spain.utf8 |
|ctype |Spanish_Spain.utf8 |
|tz |Europe/Madrid |
|date |2023-07-10 |
|rstudio |2023.06.1+524 Mountain Hydrangea (desktop) |
|pandoc |2.19.2 @ C:\PROGRA~1\Pandoc\pandoc.exe |

# Dependencies

|package |old |new |Δ |
|:-----------|:------|:----------|:--|
|mapSpain |0.7.0 |0.7.0.9000 |* |
|classInt |0.4-9 |0.4-9 | |
|countrycode |1.5.0 |1.5.0 | |
|DBI |1.1.3 |1.1.3 | |
|e1071 |1.7-13 |1.7-13 | |
|geojsonsf |2.0.3 |2.0.3 | |
|geometries |0.2.3 |0.2.3 | |
|giscoR |0.3.5 |0.3.5 | |
|jsonify |1.2.2 |1.2.2 | |
|magrittr |2.0.3 |2.0.3 | |
|proxy |0.4-27 |0.4-27 | |
|rapidjsonr |1.2.0 |1.2.0 | |
|rappdirs |0.3.3 |0.3.3 | |
|Rcpp |1.0.10 |1.0.10 | |
|s2 |1.1.4 |1.1.4 | |
|sf |1.0-13 |1.0-13 | |
|sfheaders |0.4.3 |0.4.3 | |
|units |0.8-2 |0.8-2 | |
|wk |0.7.3 |0.7.3 | |
|package |old |new |Δ |
|:-----------|:------|:------|:--|
|mapSpain |0.7.0 |0.8.0 |* |
|classInt |0.4-9 |0.4-9 | |
|countrycode |1.5.0 |1.5.0 | |
|DBI |1.1.3 |1.1.3 | |
|e1071 |1.7-13 |1.7-13 | |
|geojsonsf |2.0.3 |2.0.3 | |
|geometries |0.2.3 |0.2.3 | |
|giscoR |0.3.5 |0.3.5 | |
|jsonify |1.2.2 |1.2.2 | |
|magrittr |2.0.3 |2.0.3 | |
|proxy |0.4-27 |0.4-27 | |
|rapidjsonr |1.2.0 |1.2.0 | |
|rappdirs |0.3.3 |0.3.3 | |
|Rcpp |1.0.10 |1.0.10 | |
|s2 |1.1.4 |1.1.4 | |
|sf |1.0-13 |1.0-13 | |
|sfheaders |0.4.3 |0.4.3 | |
|units |0.8-2 |0.8-2 | |
|wk |0.7.3 |0.7.3 | |

# Revdeps

Binary file modified vignettes/basic-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/basic2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/basic3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/choro-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/giscoR-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/thematic-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e3a763b

Please sign in to comment.