The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
getDOSE(),
getDOSE_geom() and matchDOSE() return
NULL invisibly with an informative message instead of
throwing an error when there is no internet connection, a download
fails, or a downloaded file is corrupt. stop() is still
used for invalid user input.regional-convergence vignette is now precomputed
(source in vignettes/regional-convergence.Rmd.orig,
regenerated with dev/precompute-vignettes.R), so no
network-dependent code runs at R CMD check time.cache = TRUE argument in getDOSE(),
getDOSE_geom() and matchDOSE(): opt-in
persistent storage of downloaded data in
tools::R_user_dir("subincomeR", "cache"), so the data (up
to ~769 MB for the geometries) is reused across R sessions instead of
being re-downloaded every session. The default behavior (storage in
tempdir()) is unchanged.subincomeR_cache_dir() and
subincomeR_cache_clear() to locate and delete the
persistent cache.R CMD check (the
tests/testthat.R runner was missing), with new network-free
tests covering the offline and failed-download paths via mocked
connectivity.download.file() fallback now
checks its return status, partial or corrupt downloads are always
removed, the download timeout is raised to 600s, and the deprecated
wininet method was dropped.matchDOSE() now validates all its arguments before any
network activity.%>%) with the native R
pipe (|>) in package code, addressing the CRAN NOTE
flagged after sf stopped re-exporting %>%
(see r-spatial/sf#2607)getDOSE_geom() function to explicitly
download the geometries of the sub-national regions.gpkg
file with the sub-national geometries would be storedmatchDOSE() to skip the first step of the geocoding
processThese binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.