Skip to content

tidytree

0.4.8Package record

A Tidy Tool for Phylogenetic Tree Data Manipulation

9packages dependsuggested by 6
747.1Kdownloads / year
60.1%test coverage
8/13flavors OK

Overview

About

Phylogenetic trees contain components such as nodes, edges, branches, and associated data. As the core data manipulation tool in the 'ggtree' ecosystem, 'tidytree' provides tools for converting tree objects to tidy data frames and tidy interfaces for manipulating, analyzing, and visualizing tree data.

Changes in 0.4.8
  • improve tree_subset() error handling for unmatched nodes and pass root_edge consistently in the treedata method (2026-07-02, Thu)
  • make malformed tbl_tree objects fail with a clear validation error when converted by as.phylo() (2026-07-02, Thu)
  • optimize offspring() for 'phylo' objects and as.ultrametric() for large trees by avoiding repeated edge scans and vector growth in traversal loops (2026-07-02, Thu)
  • update package citation and documentation links (2026-07-02, Thu)
  • remove duplicated rows in y before left_join() and full_join() to avoid duplicated annotation records after joining tables (2026-07-01, Wed, #52)

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTEdependencies in R coder-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Base package in Suggests/Enhances imported in NAMESPACE:
  ‘utils’

r-devel-windows-x86_64

Base package in Suggests/Enhances imported in NAMESPACE:
  'utils'

CRAN check page ↗

Slowest check: 1.9 min · r-oldrel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-09-12
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.8
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 0.4.8Citation fileYes · cites a publicationWebsiteYes
Help pages
31 (2 internal)includes a package overview page
Examples that run
100%9 run in a plain check
Exported functions with examples
31%
Documented parameters
100%
Return-value docs
85%
Help pages citing references
0%

Downloads

747.1K
CRAN downloads in the past year
Rank #409 · ~2K/day · ~62.3K/mo
Daily download trend is not available in this view yet.
74.3K30 days
212.9K90 days
747.1K1 year
Compare downloads with other packages →
Also on12.8K r2u2 autocran152.5K conda_forge401 c2d4u

Repository

61Stars
13Forks
8Open issues
0Open PRs
0Releases
172Commits
8Commit identities
phylogenetic-treecrantree-datatidyverse
172 commits · Last activity 2026-07-02 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
88%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-17 · 572026-07-07 · 61
PracticesBeta

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

Checks run against github.com/yulab-smu/tidytree on 2026-10-18.

Governance and community (1)
Code of conduct
Docs source (2)
README.Rmd

GitHub Pages site last deployed 2017-12-13

Reproducibility and dev environment (1)
Makefile
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing tidytree adds 27 packages (18 with compiled code, 23 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, ape 1.4 MB.

Depends (1)
R >= 3.4.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
9direct
3indirect
Imports 9
Suggested by 6
Show all 15 packagesHide all 15 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 0.1.5 (2017), Copyright holder
Contributor
Contributor
Releases (32)

Pick two releases to compare their code metrics.

  • 0.4.8Latest
    record
    2026-07-02 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.7
    record
    2026-01-08 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.6
    record
    2023-12-12 · diff ↗
  • 0.4.5
    record
    2023-08-10 · diff ↗ ·
    added 13 exports
    Nnode, Ntip, as.ultrametric, drop.tip, get.treetext, getNodeNum, is.rooted, isTip, keep.tip, read.tree, root, rtree, tree_subset
  • 0.4.4
    record
    2023-07-15 · diff ↗ ·
    added 4 exports
    node.label<-, tip.label<-, node.label, tip.label
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.2
    record
    2022-12-18 · diff ↗
  • 0.4.1
    record
    2022-09-26 · diff ↗
  • 0.4.0
    record
    2022-08-13 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.9
    record
    2022-03-04 · diff ↗
  • 0.3.8
    record
    2022-02-17 · diff ↗
  • 0.3.7
    record
    2022-01-10 · diff ↗
Show 26 earlier eventsHide 26 earlier events

Package metadata

First published
2017-12-14
Total releases
32 / 9 yrs
License
Artistic-2.0 OSI
Minimum R
≥ 3.4.0
Download size
37 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("tidytree")

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

It points to 10.1201/9781003279242.

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 tidytree version 0.4.8 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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