R Observatory
Search
install.packages("wdpar")
CRAN 30-day downloads, method
700+3.2% up on the 30 days before, the better direction
Test coverage, method
43%of lines run by tests

Fetch and clean data from the World Database on Protected Areas (WDPA) and the World Database on Other Effective Area-Based Conservation Measures (WDOECM). Data is obtained from Protected Planet <https://www.protectedplanet.net/en>.

Full description

Fetch and clean data from the World Database on Protected Areas (WDPA) and the World Database on Other Effective Area-Based Conservation Measures (WDOECM). Data is obtained from Protected Planet <https://www.protectedplanet.net/en>. To augment data cleaning procedures, users can install the 'prepr' R package (available at <https://github.com/prioritizr/prepr>). For more information on this package, see Hanson (2022) <doi:10.21105/joss.04594>.

Maintainer
Jeffrey O Hanson
Licence
GPL-3
Latest release
26 Jan 2026
First release
11 Jan 2019

Compare with another package

More details
Releases
18
Needs compilation
No
Needs R
>= 3.5.0
Language
en-US
RoxygenNote
7.3.3
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("wdpar")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for wdpar version 1.3.9 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.3.9
    Time taken
    66 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.3.9
    Time taken
    51 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.3.9
    Time taken
    74 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.3.9
    Time taken
    53 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.3.9
    Time taken
    103 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.3.9
    Time taken
    26 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.3.9
    Time taken
    89 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.3.9
    Time taken
    99 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.3.9
    Time taken
    60 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.3.9
    Time taken
    58 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.3.9
    Time taken
    23 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.3.9
    Time taken
    84 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.3.9
    Time taken
    80 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (4)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
25 Apr 2026OK12000
10 Mar 2026Note11300

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
920+22.7% up on the 30 days before, the better directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and conda-forge.

CRAN rank

4,511 of 26,530

CRAN

700 downloads in the last 30 days

Rank
4,511 of 26,530
Change
+3.2% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

10 downloads in the last 30 days

Rank
6,605 of 30,526
Change
+11.1% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

6 downloads in the last 30 days

Rank
8,234 of 29,212
Change
−62.5% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

204 downloads in the last 30 days

Rank
2,446 of 3,828
Change
+334% up on the 30 days before, the better direction

It is in the total. Take it out

Over time

Compare downloads

Needs
16
Dependent packages
0
Suggested by
0
Needs (16)
Installing it adds
50 packages, 30.9 MB of source
Of those, need compilation
32
Optional extras (9)
Functions
22
Public exports
8
Lines of R code
1,920
Median complexity
2
Functions (22)
Size and composition

Lines by kind (4,011)

KindLinesShare
R code1,92048%
Tests94324%
Documentation84421%
Guides3048%

Lines by language

LanguageLinesShare
R2,86371%
Rd84421%
Vignettes3048%

Languages are counted from file extensions.

Files
47
R functions
22
Complexity
Median
2
Mean
6.27
Highest
55
Median lines per function
21.5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
22
Calls
24
Unconnected
3
Groups
2
Growth (18 releases)
Total lines by release
1,815 on 11 Jan 20194,011 on 26 Jan 2026
Release changes

Coverage was measured, but at least one test failed during the run.

Lines run by tests
42.8%
Expressions run by tests
39.9%
Test cases
47
Exports named in tests
87.5%
Coverage by file (11)
Coverage run
Lines counted
629
Lines the tests ran
269
Tests passed
No
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
47
Lines of tests
943
Test lines per line of code
0.49
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
88.9%
Examples run in checks
37.5%
Guides (1)
Other documentation
README
Yes, 1,298 words
Release notes file
Yes
Help pages
9
Lines of documentation
844

prioritizr / wdpar on github.com

Stars
41
Forks
6
Open issues
1
Last commit
26 Jan 2026
Activity
Commits
309
Open pull requests
0
Tagged releases
8
Latest tagged release
v1.3.9, 26 Jan 2026
Issues closed in
8 days (median)
Pull requests closed in
1 day (median)
Pull requests merged
88%
Created
14 Dec 2017
Licence file reads as
GPL-3.0
Development practices (11)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityContributing guide
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-01-26
CoverageCoverage reporting (Codecov), .covrignore
Reproducibility and dev environmentMakefile
CRAN release processcran-comments.md
Lint, format, editorRStudio project

Method, repository practices

Across prioritizr

R releases
  • On CRAN
  • Archived
  • Release
1.0.01.3.9Archived and back

Archived and back

ArchivedBackCRAN's reasonKind
31 Jan 20207 Feb 2020requires archived packages 'wdman' and 'RSelenium'Needs an archived package
VersionReleasedR
1.3.9 current26 Jan 20264.5.2
1.3.87 Oct 20244.4.1
1.3.721 Sep 20234.3.1
1.3.58 Aug 20234.3.1
1.3.424 Feb 20234.2.2
1.3.38 Jul 20224.2.1
1.3.25 Dec 20214.1.2
1.3.13 Sep 20214.1.1
Earlier versions (10)
VersionReleasedREvents
1.0.618 Dec 20204.0.3
1.0.55 Nov 20204.0.3
1.0.413 Oct 20204.0.3
1.0.330 Jul 20204.0.2
1.0.215 Apr 20203.6.3
1.0.17 Feb 20203.6.2Back on CRAN 7 Feb 2020
1.0.029 Jun 20193.6.0Archived 31 Jan 2020
“requires archived packages 'wdman' and 'RSelenium'”
0.0.39 Apr 20193.5.3
0.0.212 Feb 20193.5.2
0.0.111 Jan 20193.5.2
Release notes (1.3.9)
  • CRAN release.