Skip to content

Releases: prioritizr/wdpar

wdpar 1.3.7

21 Sep 20:26
Compare
Choose a tag to compare
  • Fix aliasing for package manual entry (#71).
  • Fix issue with st_erase_overlaps() not correctly removing overlaps when a protected area are completely contained within another (#73).

wdpar 1.3.5

08 Aug 23:26
Compare
Choose a tag to compare
  • CRAN release.
  • Fix compatibility issues with Protected Planet (#69).
  • Update wdpa_clean() to be more robust (#68).
  • Remove sp package as dependency.

wdpar 1.3.4

28 Feb 21:33
d4c52e4
Compare
Choose a tag to compare
  • CRAN release.
  • Update citation format.
  • Fix broken URL in vignette.
  • Fix badges in README.
  • Update citation information with journal article.
  • Fix tests when PhatomJS not installed.
  • Fix broken URL in vignette.
  • Improve error message for wdpa_fetch() when PhantomJS is not installed (#63).
  • Add URLs to README for citations (#58).
  • Update wdpa_fetch() documentation to provide information on out of date warnings (#59).
  • Update wdpa_fetch() warnings to be more descriptive and use the cli package for consistent alert messages.
  • Update paper for JOSS submission (#53, #54, #62).
  • Update vignette with new section on local scale analyses (#53).
  • Update wdpa_fetch() function to use the webdriver package for obtaining data
    (replacing Rselenium package as a dependency) (#63).
  • Update st_repair_geometry() to be more robust.
  • Fix failing tests for st_repair_geometry() function.
  • Update documentation for wdpa_clean() function.
  • Fix broken URL in vignette.

wdpar 1.3.3.2

13 Oct 18:37
Compare
Choose a tag to compare
wdpar 1.3.3.2 Pre-release
Pre-release

Preliminary release for JOSS.

wdpar 1.3.3

09 Jul 00:00
Compare
Choose a tag to compare
  • Reduce test timings.
  • Fix compatibility with GEOS (version 3.11.0) (#50, #51).
  • Fix broken URLs in documentation.
  • Fix typos in documentation, add JOSS paper, and add contributing guide.
  • Reduce false-negative rate when checking for available internet connection (#10).
  • Select a random port for the web driver (#41).
  • Make web driver clean up more robust (#41).

wdpar 1.3.2

05 Dec 23:26
Compare
Choose a tag to compare
  • Update read_sf_n to import data faster.
  • Remove withr R package from DESCRIPTION because it is not used.
  • Update wdpa_clean to format the PA_DEF column to indicate if each area is a protected area (per IUCN and CBD protected area definitions) or an other effective area-based conservation measure (OECM).
  • Update documentation to make it clear that data obtained from Protected Planet include both the World Database on Protected Areas (WDPA) and the World Database on Other Effective Area-Based Conservation Measures (WDOECM).
  • Update citation information to follow recommended citations for the World Database on Protected Areas (WDPA) and the World Database on Other Effective Area-Based Conservation Measures (WDOECM).
  • Update URLs to pass CRAN checks.
  • Update wdpa_fetch with new check_version argument to specify if the version of cached data should be checked against the latest version available online.
  • Update wdpa_clean to not throw an unnecessary and confusing warning message when attempting to clean data that do not contain any valid polygon geometries.
  • Fix bug in wdpa_read to ensure that all data from global database. This is a bug previously meant that protected areas denoted with polygon geometry data were not imported. It is strongly recommended that users double check processed versions of the global database to verify correctness.
  • Add example script for downloading and cleaning data (see inst/scripts/global-example-script.R)
  • New st_repair_geometry function to repair geometry using a combination of sf::st_make_valid and prepr::st_prepair. This function is now used by the wdpa_clean function to augment data cleaning procedures.
  • Update wdpa_url and wdpa_fetch to have a page_wait parameter to specify the wait time for loading web pages when finding the download URLs for datasets (#39).
  • Add dplyr package to Suggests because it is used in an example.
  • Update wdpa_clean to provide better information when cleaning data.
  • Update documentation to provide guidelines for processing global dataset.
  • New wdpa_dissolve function to dissolve geometries together (#22).
  • Fix tests that fail package checks given only strict dependencies.
  • Update citation information in README and vignette.
  • Update wdpa_url function to be compatible with changes on https://www.protectedplanet.net/en for downloading country-level datasets.

wdpar 1.3.1

18 Oct 00:18
Compare
Choose a tag to compare
v1.3.1

fix typo in cran comments