Releases: prioritizr/wdpar
Releases · prioritizr/wdpar
wdpar 1.3.7
wdpar 1.3.5
wdpar 1.3.4
- 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
Preliminary release for JOSS.
wdpar 1.3.3
- 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
- Update
read_sf_n
to import data faster. - Remove withr R package from DESCRIPTION because it is not used.
- Update
wdpa_clean
to format thePA_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 newcheck_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 ofsf::st_make_valid
andprepr::st_prepair
. This function is now used by thewdpa_clean
function to augment data cleaning procedures. - Update
wdpa_url
andwdpa_fetch
to have apage_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
v1.3.1 fix typo in cran comments