Skip to contents

rgeoboundaries (development version)

Breaking changes

The API has been completely revised to provide clearer function names and improve internal maintainability. Most old functions have been deprecated and will issue a warning when used, providing guidance on the appropriate replacement. Internally, calls to deprecated functions are redirected to their corresponding replacements.

Additionally, the former magical default country = NULL argument (which returned the global composite dataset) has been deprecated. It has been replaced with a dedicated function: gb_get_world().

Renamed functions:

Other changes

Internals

  • Download logic is now implemented using httr2.
  • Internal informational messages are generated using cli.

Documentation

Cache management

Cache handling has been fully reviewed:

  • By default, the cache directory is located under base::tempdir().
    You can change it using:
    • Temporary cache (single R session): gb_set_cache(path).
    • Persistent cache across R sessions: gb_set_cache(path, install = TRUE).
    • Specific files: use the path argument in the corresponding function e.g. gb_get(..., path = path).

Redesigned cache-management functions:

Testing and internals

  • Improved package tests and coverage.
  • Added CI checks via GitHub Actions.

Package DESCRIPTION

  • New maintainer: Diego Hernangómez (https://github.com/dieghernan/).
  • Added William & Mary geoLab as copyright holder.
  • Revised Title and Description with clearer links and citations.
  • Tidy dependencies.

New files added

Project infrastructure and clean-up

  • Removed legacy files and reorganized repository layout.
  • Redesigned logo.

rgeoboundaries 1.3

CRAN release: 2024-03-12

  • CRAN submission.

rgeoboundaries 1.2.9

CRAN release: 2023-12-08

  • Initial CRAN submission.