Skip to content

Commit 5afbbf5

Browse files
committed
Prepare CRAN release
1 parent 86bf250 commit 5afbbf5

22 files changed

+126
-67
lines changed

.github/workflows/update-docs.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,21 @@ jobs:
3333
dieghernan/pkgdev
3434
needs: website
3535

36+
- name: Install optipng
37+
run: |
38+
if [ "$RUNNER_OS" == "Linux" ]; then
39+
sudo apt-get update
40+
sudo apt-get install optipng
41+
elif [ "$RUNNER_OS" == "Windows" ]; then
42+
choco install optipng
43+
elif [ "$RUNNER_OS" == "macOS" ]; then
44+
brew install optipng
45+
else
46+
echo "$RUNNER_OS not supported"
47+
exit 1
48+
fi
49+
shell: bash
50+
3651
- name: Run jarl
3752
uses: etiennebacher/[email protected]
3853
continue-on-error: true

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"better-yaml.directives": false,
1717
"better-yaml.flowCollectionPadding": false,
1818
"better-yaml.lineWidth": 80,
19+
"positron.r.useNativePipe": true,
1920
"yaml.completion": true,
2021
"yaml.format.printWidth": 80,
2122
"yaml.validate": true

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ message: 'To cite package "giscoR" in publications use:'
88
type: software
99
license: GPL-3.0-only
1010
title: 'giscoR: Download Map Data from GISCO API - Eurostat'
11-
version: 1.0.0.9000
11+
version: 1.0.1
1212
doi: 10.32614/CRAN.package.giscoR
1313
identifiers:
1414
- type: doi
@@ -32,7 +32,7 @@ preferred-citation:
3232
orcid: https://orcid.org/0000-0001-8457-4658
3333
doi: 10.32614/CRAN.package.giscoR
3434
year: '2026'
35-
version: 1.0.0.9000
35+
version: 1.0.1
3636
url: https://ropengov.github.io/giscoR/
3737
abstract: Tools to download data from the GISCO (Geographic Information System of
3838
the Commission) Eurostat database <https://ec.europa.eu/eurostat/web/gisco>. Global

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: giscoR
33
Title: Download Map Data from GISCO API - Eurostat
4-
Version: 1.0.0.9000
4+
Version: 1.0.1
55
Authors@R: c(
66
person("Diego", "Hernangómez", , "[email protected]", role = c("aut", "cre", "cph"),
77
comment = c(ORCID = "0000-0001-8457-4658")),

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# giscoR (development version)
1+
# giscoR 1.0.1
22

33
- Fix a bug that overwrites the internal data base on a new session with the
44
cached version. Now the cache should be persistent.
@@ -113,7 +113,7 @@ We updated all bundled datasets to their latest versions and added new ones:
113113
>
114114
> Please use the updated datasets or, preferably, retrieve them via the
115115
> corresponding functions such as `gisco_get_countries()` with default
116-
> parameters.
116+
> arguments.
117117
118118
## Deprecations
119119

R/gisco-address-api.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,12 @@ gisco_address_api_copyright <- function(verbose = FALSE) {
267267

268268
#' Helper function to prepare and call the Address API
269269
#'
270-
#' @param custom_query A named list with the query parameters.
270+
#' @param custom_query A named list with the query arguments.
271271
#' @param apiurl The API endpoint URL.
272272
#' @param verbose Logical. Whether to print verbose output.
273273
#'
274274
#' @returns
275-
#' A `sf` object or `tibble`.
275+
#' A `sf` object or tibble.
276276
#'
277277
#' @noRd
278278
call_address_api <- function(custom_query, apiurl, verbose = FALSE) {

R/gisco-bulk-download.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,13 @@ gisco_bulk_download <- function(
214214
invisible(out_full)
215215
}
216216

217-
#' Internal function to set parameters for bulk download
217+
#' Internal function to set arguments for bulk download
218218
#'
219219
#' @param id Dataset ID
220220
#' @param year Year
221221
#' @param resolution Resolution
222222
#'
223-
#' @return A list with parameters
223+
#' @return A list with arguments
224224
#' @noRd
225225
make_bulk_params <- function(id, year, resolution = NULL) {
226226
# Need this to ensure everything is captured

R/gisco-id-api.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ prepare_id_query <- function(
307307

308308
#' Helper function to prepare and call the ID API
309309
#'
310-
#' @param custom_query A named list with the query parameters.
310+
#' @param custom_query A named list with the query arguments.
311311
#' @param apiurl The API endpoint URL.
312312
#' @param verbose Logical. Whether to print verbose output.
313313
#'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ A BibTeX entry for LaTeX users is
271271
doi = {10.32614/CRAN.package.giscoR},
272272
author = {Diego Hernangómez},
273273
year = {2026},
274-
version = {1.0.0.9000},
274+
version = {1.0.1},
275275
url = {https://ropengov.github.io/giscoR/},
276276
abstract = {Tools to download data from the GISCO (Geographic Information System of the Commission) Eurostat database <https://ec.europa.eu/eurostat/web/gisco>. Global and European map data available. This package is in no way officially related to or endorsed by Eurostat.},
277277
}

codemeta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeRepository": "https://github.com/rOpenGov/giscoR",
99
"issueTracker": "https://github.com/rOpenGov/giscoR/issues",
1010
"license": "https://spdx.org/licenses/GPL-3.0",
11-
"version": "1.0.0.9000",
11+
"version": "1.0.1",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",
@@ -261,7 +261,7 @@
261261
"applicationCategory": "cartography",
262262
"isPartOf": "http://ropengov.org/",
263263
"keywords": ["ropengov", "r", "spatial", "api-wrapper", "rstats", "r-package", "eurostat", "gisco", "thematic-maps", "eurostat-data", "cran", "ggplot2", "gis", "cran-r"],
264-
"fileSize": "1925.346KB",
264+
"fileSize": "1918.932KB",
265265
"citation": [
266266
{
267267
"@type": "SoftwareSourceCode",

0 commit comments

Comments
 (0)