Measurement and Partitioning of Similarity-Sensitive Biodiversity
Overview
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.
- Fixed
repartition()for non-phylogenetic metacommunities: it previously passed a bare similarity matrix tometacommunity(), 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.Rlibrary; 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/utilsimports - Dropped the
reshape2dependency (superseded upstream); themelt()calls ininddiv()/subdiv()/metadiv()are replaced by a small internal base-R helper
Show all changes in 2.3.0Hide the rest of the changes in 2.3.0
- Migrated continuous integration from Travis CI and AppVeyor to GitHub Actions
- Added
lint,pr-commandsand R-hub v2 (rhub) workflows - Formatted the codebase with
stylerand added a.lintrconfiguration so the package passeslintr::lint_package()cleanly - Added a
cran-comments.mdtemplate and tidied the repository (ignore rules, build artefacts).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 43includes a package overview page
- Examples that run
- 100%27 run in a plain check
- Exported functions with examples
- 74%
- Documented parameters
- 99%
- Return-value docs
- 97%
- Help pages citing references
- 60%
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/boydorr/rdiversity on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-16 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Installing rdiversity adds 1 package (1 with compiled code, 843 KB of source tarballs). Heaviest: stringdist 843 KB.
Code & Tests
People & History
Previously maintained by Sonia Mitchell (1.0 to 2.0).
Pick two releases to compare their code metrics.
- 2.3.0Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2022-05-06
- 2.2.0
- archivedRemoved from CRAN2022-04-26requires archived package 'binaryLogic'
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.02020-05-20 · diff ↗ ·
removed 22 exports
check_partition, check_phypartition, check_similarity, get_title, hs_parameters, inddiv, is.metacommunity, is.powermean, is.relativeentropy, metadiv, plot_diversity, powermean, qD, qDZ, qDZ_single, qD_single, relativeentropy, similarity_shimatani, smatrix, subdiv, tbar, zmatrixadded 5 exports
dist2sim, gen2dist, phy2branch, phy2dist, tax2dist - RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.2.12018-06-19 · diff ↗
- 1.2
- RR 3.5.0 released · 2018-04-23
Show 2 earlier eventsHide 2 earlier events
- 1.02017-06-27
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-06-27
- Total releases
- 6 / 9 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 281 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("rdiversity")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.