Skip to content

Commit

Permalink
prepare for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Dec 15, 2024
1 parent eb5f6fb commit 3d29c2c
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 76 deletions.
7 changes: 2 additions & 5 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.9.2.9000
version: 0.10.0
doi: 10.5281/zenodo.5366622
identifiers:
- type: doi
Expand All @@ -23,7 +23,6 @@ authors:
given-names: Diego
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
affiliation: rOpenSpain
preferred-citation:
type: manual
title: 'mapSpain: Administrative Boundaries of Spain'
Expand All @@ -32,9 +31,8 @@ preferred-citation:
given-names: Diego
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
affiliation: rOpenSpain
year: '2024'
version: 0.9.2.9000
version: 0.10.0
doi: 10.5281/zenodo.5366622
url: https://ropenspain.github.io/mapSpain/
abstract: Administrative Boundaries of Spain at several levels (Autonomous Communities,
Expand All @@ -50,7 +48,6 @@ contact:
given-names: Diego
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
affiliation: rOpenSpain
keywords:
- ropenspain
- tiles
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Type: Package
Package: mapSpain
Title: Administrative Boundaries of Spain
Version: 0.9.2.9000
Version: 0.10.0
Authors@R:
person("Diego", "Hernangómez", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658", affiliation = "rOpenSpain"))
comment = c(ORCID = "0000-0001-8457-4658"))
Description: 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 Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# mapSpain (development version)
# mapSpain 0.10.0

- Fix a bug on `esp_get_prov_siane()` when selecting columns #115.
- New argument `type` in `esp_get_comarcas()`. Now it is possible to extract
- New argument `type` in `esp_get_comarca()`. Now it is possible to extract
different types of comarcas: Official (IGN), statistical (INE), agrarian or
livestock comarcas (MAPA).

Expand Down
15 changes: 1 addition & 14 deletions R/esp_get_comarca.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#'
#' ## Types
#'
#' `esp_get_comarcas()` can retrieve several types of comarcas, each one
#' `esp_get_comarca()` can retrieve several types of comarcas, each one
#' provided under different classification criteria.
#'
#' - `"INE"`: Comarcas as defined by the National Statistics Institute (INE).
Expand Down Expand Up @@ -95,19 +95,6 @@
#' ggplot(comarcas_cat) +
#' geom_sf(aes(fill = ine.prov.name)) +
#' labs(fill = "Province")
#'
#' # Livestock Comarcas with Mountains or Alt(o,a) in the name
#'
#' comarcas_alto <- esp_get_comarca(
#' comarca = "Montaña|Monte|Sierra|Alt",
#' type = "LIV",
#' epsg = 3857
#' )
#'
#' ggplot(comarcas_alto) +
#' geom_sf(aes(fill = ine.ccaa.name)) +
#' geom_sf_text(aes(label = name), check_overlap = TRUE) +
#' labs(fill = "CCAA")
#' }
#'
esp_get_comarca <- function(region = NULL, comarca = NULL, moveCAN = TRUE,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ A BibTeX entry for LaTeX users is:
@Manual{R-mapspain,
title = {{mapSpain}: Administrative Boundaries of Spain},
year = {2024},
version = {0.9.2.9000},
version = {0.10.0},
author = {Diego Hernangómez},
doi = {10.5281/zenodo.5366622},
url = {https://ropenspain.github.io/mapSpain/},
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/rOpenSpain/mapSpain",
"issueTracker": "https://github.com/rOpenSpain/mapSpain/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.9.2.9000",
"version": "0.10.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -245,7 +245,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", "cran", "ggplot2", "gis"],
"fileSize": "2841.115KB",
"fileSize": "2840.415KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
2 changes: 1 addition & 1 deletion inst/schemaorg.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"url": "https://cran.r-project.org"
},
"runtimePlatform": "R version 4.4.2 (2024-10-31 ucrt)",
"version": "0.9.2.9000"
"version": "0.10.0"
},
{
"id": "https://doi.org/10.5281/zenodo.5366622",
Expand Down
15 changes: 1 addition & 14 deletions man/esp_get_comarca.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/mapSpain-package.Rd

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

69 changes: 35 additions & 34 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
# Platform

|field |value |
|:--------|:------------------------------|
|version |R version 4.4.2 (2024-10-31) |
|os |macOS Sonoma 14.7.1 |
|system |aarch64, darwin20 |
|ui |X11 |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |UTC |
|date |2024-12-13 |
|pandoc |3.1.11 @ /usr/local/bin/pandoc |
|field |value |
|:--------|:------------------------------------------|
|version |R version 4.4.2 (2024-10-31 ucrt) |
|os |Windows 11 x64 (build 26100) |
|system |x86_64, mingw32 |
|ui |RStudio |
|language |(EN) |
|collate |Spanish_Spain.utf8 |
|ctype |Spanish_Spain.utf8 |
|tz |Europe/Madrid |
|date |2024-12-15 |
|rstudio |2024.09.1+394 Cranberry Hibiscus (desktop) |
|pandoc |3.1.12.2 @ C:\PROGRA~1\Pandoc\pandoc.exe |

# Dependencies

|package |old |new |Δ |
|:-----------|:--------|:----------|:--|
|mapSpain |0.9.2 |0.9.2.9000 |* |
|classInt |0.4-10 |0.4-10 | |
|countrycode |1.6.0 |1.6.0 | |
|DBI |1.2.3 |1.2.3 | |
|e1071 |1.7-16 |1.7-16 | |
|geojsonsf |2.0.3 |2.0.3 | |
|geometries |0.2.4 |0.2.4 | |
|giscoR |0.6.0 |0.6.0 | |
|jsonify |1.2.2 |1.2.2 | |
|jsonlite |1.8.9 |1.8.9 | |
|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.13-1 |1.0.13-1 | |
|s2 |1.1.7 |1.1.7 | |
|sf |1.0-19 |1.0-19 | |
|sfheaders |0.4.4 |0.4.4 | |
|units |0.8-5 |0.8-5 | |
|wk |0.9.4 |0.9.4 | |
|package |old |new |Δ |
|:-----------|:--------|:--------|:--|
|mapSpain |0.9.2 |0.10.0 |* |
|classInt |0.4-10 |0.4-10 | |
|countrycode |1.6.0 |1.6.0 | |
|DBI |1.2.3 |1.2.3 | |
|e1071 |1.7-16 |1.7-16 | |
|geojsonsf |2.0.3 |2.0.3 | |
|geometries |0.2.4 |0.2.4 | |
|giscoR |0.6.0 |0.6.0 | |
|jsonify |1.2.2 |1.2.2 | |
|jsonlite |1.8.9 |1.8.9 | |
|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.13-1 |1.0.13-1 | |
|s2 |1.1.7 |1.1.7 | |
|sf |1.0-19 |1.0-19 | |
|sfheaders |0.4.4 |0.4.4 | |
|units |0.8-5 |0.8-5 | |
|wk |0.9.4 |0.9.4 | |

# Revdeps

0 comments on commit 3d29c2c

Please sign in to comment.