Rearrangement Distances Between Phylogenetic Trees
Overview
Fast calculation of tree rearrangement distances. For unrooted trees: Subtree Prune and Regraft (SPR), Tree Bisection and Reconnection (TBR), and Replug distances, using the algorithms of Whidden and Matsen (2017) doi:10.48550/arXiv.1511.07529. For rooted trees: rooted SPR (rSPR) distance, using the fixed-parameter algorithms of Whidden, Beiko, and Zeh (2013) doi:10.1137/110845045.
- Fix segfault in
RSPRDist().
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-04
- ERROR12 OK, 1 ERROR2026-08-29
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-17
Show 5 earlier changesHide 5 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- NOTE13 OK, 1 NOTE2026-04-22
- ERROR12 OK, 1 NOTE, 1 ERROR2026-04-18
- NOTE13 OK, 1 NOTE2026-03-31
- OK14 OK2026-03-10
Documentation
- Help pages
- 6 (4 internal)
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 50%
- Documented parameters
- 52%
- Return-value docs
- 100%
- Help pages citing references
- 33% with Rdpack citation macros
- Using TBRDist HTML
Downloads
Repository
- PRs merged (all time)
- 67%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
14 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/ms609/tbrdist on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 4 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-02-12Pull request: opened by its own account
- Posit Assistantfirst seen 2026-03-08Seen in the repository: .positai/plans, .positai/settings.json
- Claude Codefirst seen 2026-03-10Seen in the repository: .claudeNamed in .Rbuildignore: .claudeCommits: at least 3 crediting it in the message
- Claude Opus 5.52 commits · Sep 2026
- Claude Opus 51 commit · Jul 2026
Dependencies
Installing TBRDist adds 40 packages (25 with compiled code, 47 MB of source tarballs). Heaviest: BH 14 MB, bslib 5.6 MB, promises 3.1 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 2.0.2Latest
- 2.0.12026-07-21 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 2.0.0
- 1.0.32025-11-28 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.22020-09-17 · diff ↗
- 1.0.12020-07-07 · diff ↗
- 1.0.02020-07-01
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-07-01
- Total releases
- 7 / 6 yrs
- License
- GPL (>= 3) OSI
- Copyright
- Underlying C++ code copyright 2009-2021 Chris Whidden.
- Minimum R
- ≥ 3.6.0
- Download size
- 391 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("TBRDist")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.