Skip to content

rtrees

2.0.2

Deriving Phylogenies from Synthesis Trees

2packages depend
604downloads / year
73.1%test coverage
13/13checks pass

Overview

About
Maintained by Daijiang LiFirst published 2026-06-111 releasesCRAN page ↗

Provides tools to derive species-level phylogenies from large synthesis mega-trees for a wide range of taxonomic groups, including plants, birds, mammals, amphibians, reptiles, fish, bees, butterflies, and sharks. When a queried species is absent from the mega-tree, it is grafted onto the tree using one of two placement strategies: attachment at the basal node of the most closely related genus or family ('at_basal_node'), or random attachment below that basal node with probability proportional to branch length ('random_below_basal'). See Li (2023) doi:10.1111/ecog.06643 for details. Multiple species from a genus not represented in the mega-tree are placed as a polytomy to preserve clade coherence. The package interfaces with the 'megatrees' data package, which bundles or downloads on demand curated mega-trees. Users can also provide their own mega-trees.

Install

Health

CRAN checks
13OK
Slowest check: 4.6 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.70
73.1%
Coverage · measured lines
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-12
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,074 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

604
CRAN downloads in the past year
Rank #17,624 · ~2/day · ~50/mo
Daily download trend is not available in this view yet.
20030 days
60490 days
6041 year
Compare downloads with other packages →
Also on50 r2u

Repository

Repository
36Stars
12Forks
1Open issues
0Open PRs
0Releases
165Commits
2Contributors
rrstatsr-packagephylogenetic-trees
License GPL-3.0 · 165 commits · Last activity 2026-06-05 · 0% stars, 30d

Stars over time

2025-08-07 · 352026-07-07 · 36

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/daijiang/rtrees on 2026-08-03.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-05-01

claude

Most recent: claude on 2026-05-01

Evidence
  • claude: on or before 2026-05-01 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • 2.0.2Latest
    2026-06-11 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-11
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
302 KB / 2 files
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rtrees")
Li, D. (2026). rtrees: Deriving Phylogenies from Synthesis Trees (Version 2.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.rtrees

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the 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 rtrees version 2.0.2 [Data set]. HJJB, LLC. Data release v2026-08-09. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-09, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy