Skip to content

mapme.biodiversity 0.9.5

Latest

Choose a tag to compare

@zivankaraman zivankaraman released this 06 Oct 10:45
· 59 commits to main since this release
556ad9a

mapme.biodiversity 0.9.5

General

  • get_gfw_treecover() and get_gfw_lossyear() updated to version "GFC-2024-v1.12" (416)
  • calc_treecover_area(), calc_treecover_area_and_emissions() and calc_treecoverloss_emissions() updated to include the year 2024 (416)
  • get_esalandcover() has been adapted to download data from a new source in a format compatible with the previous version (430)
  • modified calc_treecover_area() to return zero area and not NULL when tree cover < min_cover (413)
  • get_teow() now requires users to manually download the file (450)

Internal

  • internal function .has_internet() now delegates to curl::has_internet()
  • added function .check_system_requirements() that checks on package load if system requirements (GDAL and PROJ versions) are met, and warns if not
  • use utils::compareVersion() instead of simple '<' to check the GDAL system library version

Bug fixes

  • internal function .fetch_resource() now correctly takes into account the resources that could not be retrieved and reports them (433)
  • fixed messages from the check_namespace() function
  • fixed the way normalizePath() is used so it works correctly on Windows (446)
  • fixed calc_treecover_area() to correctly handle the full tree cover (100%) (451)