- New
iucn_threat_data
built-in dataset denoting threat information on the IUCN Red List Threat Classification. - Fix compatibility of tests with updates to IUCN Red List.
- Fix compatibility with tidyselect package (>= 1.2.0).
- Fix badges in README.
- The rgrass package is now used for GRASS functionality (due to upcoming deprecation of the rgrass7 package).
- Update
create_spp_info_data()
so that data cleaning procedures replace 0 m lower elevation limits with 500 m (#39). This is because the IUCN Red List assigns lower limit values of 0 m for many species that have parts of their distribution in areas below sea level. - Update
create_spp_info_data()
so that data can be processed using EPSG:4326 coordinate reference system. Instead of throwing an error, the function will now display an alert. - Fix bug in
create_spp_aoh_data()
with theterra
engine that caused negative elevations to be rounded to zero.
- Initial stable release.
- Add tests for
st_repair_geometry()
. - Add URLs to citations in README.
- Update references in documentation.
- Fix spelling and formatting mistakes in vignette.
- Update
st_repair_geometry()
to be more robust to geometry issues.
- Update documentation for the
create_spp_info_data()
function. - Update
create_spp_info_data()
function so that the methodology used to correct errors in species' elevational limits now follows best practices. This behavior is controlled using theadjust_elevational_limits
. If elevational limits should not be altered during processing, this can be specified by settingadjust_elevational_limits = FALSE
. - Update
create_spp_info_data()
function so that IUCN habitat codes are adjusted to be assigned based on guidelines for the identification of Key Biodiversity Areas. Broadly speaking, these guidelines assign IUCN habitat codes to species' distributions in a manner to minimize omission errors. This behavior is controlled by theadjust_habitat_codes
parameter. If habitat codes should be assigned based on exact matches (e.g., Resident distributions should only be associated with habitat codes described for Resident distributions), this can be specified by settingadjust_habitat_codes = FALSE
. - Update
create_spp_info_data()
,create_spp_aoh_data()
,create_spp_frc_data()
, andcalc_spp_frc_data()
functions so that the returnedsf::st_sf()
object now contains an additionalmigratory
column indicating if the species was processed as a migratory species or not. - Update
create_spp_info_data()
,create_spp_aoh_data()
,create_spp_frc_data()
, andcalc_spp_frc_data()
functions so that the order of the columns now places the IUCN threat status information (i.e.,"category"
column) closer to the start of the table. - Update tests to be robust to Zenodo website outages.
- Update
st_repair_geometry()
to avoid unneeded geometry duplication. This reduces memory requirements forcrate_spp_info_data()
.
- Fix issues with using GDAL engine for processing data on Windows. Specifically, the package will now correctly work with the GDAL Python bindings that are installed as part of the OSGeo4W software (#32).
- Fix issues where functions for downloading datasets would fail to load data from cache, and needlessly re-download data.
- Fix issue where attempting to download data or query data version numbers would throw an error due to errors with the Zenodo API.
- Suppress meaningless warnings triggered for GRASS on macOS.
- Increase version requirement for terra package.
- Fix IUCN Red List API tests.
- Improve test coverage.
- Convenience functions for applying GDAL commands to terra package objects
are now exported. These functions include
terra_gdal_calc()
,terra_gdal_crop()
,terra_gdal_project()
, andterra_gdal_rasterize()
. - Fix bug in
terra_gdal_project()
.
- Initial developmental release.
- Initial work on developing package.