R Observatory
Search
install.packages("rdiversity")
CRAN 30-day downloads, method
312−9.8% down on the 30 days before, the worse direction
Test coverage, method
86%of lines run by tests

Provides a framework for the measurement and partitioning of the (similarity-sensitive) biodiversity of a metacommunity and its constituent subcommunities. Richard Reeve, et al. (2016) <doi:10.48550/arXiv.1404.6520>.

Maintainer
Richard Reeve
Licence
GPL-3
Latest release
15 Jul 2026
First release
27 Jun 2017

Compare with another package

More details
Releases
6
Needs compilation
No
Needs R
>= 3.5.0
Config/roxygen2/version
8.0.0
Date
2026-07-15
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("rdiversity")

The package provides a citation file, so citation() returns the authors' own entry.

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 rdiversity version 2.3.0 [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
    2.3.0
    Time taken
    52 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    2.3.0
    Time taken
    39 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    2.3.0
    Time taken
    47 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    2.3.0
    Time taken
    41 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    2.3.0
    Time taken
    83 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    2.3.0
    Time taken
    24 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    2.3.0
    Time taken
    106 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    2.3.0
    Time taken
    84 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    2.3.0
    Time taken
    49 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    2.3.0
    Time taken
    48 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    2.3.0
    Time taken
    34 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    2.3.0
    Time taken
    136 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    2.3.0
    Time taken
    84 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (4)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
18 Jul 2026OK13000
10 Mar 2026Note12200

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
325−13.1% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

12,840 of 26,530

CRAN

312 downloads in the last 30 days

Rank
12,840 of 26,530
Change
−9.8% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

10 downloads in the last 30 days

Rank
6,605 of 30,526
Change
−16.7% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
17,776 of 29,212
Change
−81.3% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
4
Dependent packages
0
Suggested by
0
Needs (4)
Installing it adds
1 package, 843 KB of source
Of those, need compilation
1
Optional extras (6)
Functions
52
Public exports
31
Lines of R code
3,314
Median complexity
1
Functions (52)
Size and composition

Lines by kind (6,505)

KindLinesShare
R code3,31451%
Tests1,11817%
Documentation1,73327%
Guides3405%

Lines by language

LanguageLinesShare
R4,43268%
Rd1,73327%
Vignettes3405%

Languages are counted from file extensions.

Files
127
R functions
52
Object systems
S4: 5 classes, S4: 6 generics, S4: 25 methods
Complexity
Median
1
Mean
2.5
Highest
15
Median lines per function
12.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
52
Calls
43
Unconnected
10
Groups
4
Growth (6 releases)
Total lines by release
5,098 on 27 Jun 20176,505 on 15 Jul 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
86.1%
Expressions run by tests
85.4%
Test cases
50
Exports named in tests
100%
Coverage by file (38)
Coverage run
Lines counted
989
Lines the tests ran
851
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
50
Lines of tests
1,118
Test lines per line of code
0.34
Exports documented
100%
Arguments documented
99.2%
Return value documented
96.8%
Help pages with examples
62.8%
Examples run in checks
100%
Guides (1)
Other documentation
README
Yes, 150 words
Release notes file
Yes
Help pages
43
Lines of documentation
1,733
Earlier names (2)
  • Aaron Rudkin
  • Daniel Dörrhöfer

boydorr / rdiversity on github.com

Stars
11+10% up on 30 days ago, the better direction
Forks
4
Open issues
0
Last commit
16 Jul 2026
Activity
Commits
1,387
Open pull requests
0
Tagged releases
14
Latest tagged release
v2.3.0, 16 Jul 2026
Issues closed in
6 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
92%
Created
18 Feb 2016
Licence file reads as
–
Development practices (10)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourceGitHub Pages site last deployed 2026-07-16
The repository has a site deploy workflow
CoverageCoverage reporting (Codecov)
CRAN release processcran-comments.md
Research and citationZenodo
Lint, format, editorlintr, Lint workflow, RStudio project

Method, repository practices

Across boydorr

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

Archived and back

ArchivedBackCRAN's reasonKind
26 Apr 20226 May 2022requires archived package 'binaryLogic'Needs an archived package
VersionReleasedREvents
2.3.0 current15 Jul 20264.6.1
2.2.06 May 20224.2.0Back on CRAN 6 May 2022
Maintainer: Richard Reeve
2.020 May 20204.0.0Archived 26 Apr 2022
“requires archived package 'binaryLogic'”
1.2.119 Jun 20183.5.0
1.212 Jun 20183.5.0
1.027 Jun 20173.4.0
Release notes (2.3.0)
  • Fixed repartition() for non-phylogenetic metacommunities: it previously passed a bare similarity matrix to metacommunity(), which has not accepted matrices for a while
  • Added tests for gen2dist(), inddiv(), repartition() and the high-level diversity-measure wrappers
  • Corrected the gen2dist() documentation
  • Removed the vendored binary.R library; the taxonomic and genetic bit handling is now implemented directly in base R
  • Breaking: as.binary() (and its associated S3 methods) is no longer exported, as it was only ever an internal implementation detail
  • Removed unused stats/utils imports
  • Dropped the reshape2 dependency (superseded upstream); the melt() calls in inddiv()/subdiv()/metadiv() are replaced by a small internal base-R helper
  • Migrated continuous integration from Travis CI and AppVeyor to GitHub Actions
  • Added lint, pr-commands and R-hub v2 (rhub) workflows
  • Formatted the codebase with styler and added a .lintr configuration so the package passes lintr::lint_package() cleanly
  • Added a cran-comments.md template and tidied the repository (ignore rules, build artefacts).