gbOpen licenses, UN OCHA terms and the non-commercial
restriction on UN SALB boundaries. Downloads from
gbAuthoritative now display a licensing notice.GEOBOUNDS_CACHE_DIR with withr::local_envvar()
and using test-owned temporary cache directories with
withr::local_tempdir().First CRAN release.
Functions for downloading boundaries have been renamed to follow the
convention object_verb() (see https://devguide.ropensci.org/pkg_building.html):
get_gb() -> gb_get().?get_gb_adm family -> ?gb_get_adm
family.get_gb_cgaz() -> gb_get_world().
gb_get_cgaz() is also available for backward compatibility
as an alias of gb_get_world().get_gb_meta() ->
gb_get_metadata().Additionally, the metadata argument has been removed.
Use gb_get_metadata() instead.
.zip archives containing
.shp files instead of .geojson or
.gpkg files, removing the geojsonsf
dependency from Imports.MULTIPOLYGON
geometries.NULL without an error
or warning when a country file is unavailable.httr2::req_retry().gb_get*() functions now allow mixed
country argument types, such as
gb_get(country = c("Germany", "USA")).gb_get_adm5() was added.gb_get_max_adm_lvl() was added.gb_get_world() now retrieves the latest boundaries
available from the repository at https://github.com/wmgeolab/geoBoundaries/tree/main/releaseData.