Prepare Data and Trees for Phylogenetic Comparative Methods
Overview
Reconcile species names across datasets and phylogenetic trees for comparative biology workflows. Identifies mismatches due to formatting differences, taxonomic synonymy, and spelling errors. Produces detailed reports documenting how each name was resolved, which taxonomic authority was used, and what remains unresolved. Supports exact matching, name normalisation, synonym resolution via local taxonomic databases, and fuzzy matching for likely typos. Detects taxonomic splits and lumps. For methodological context, see Nakagawa et al. (2026) doi:10.32942/X2468Z.
- Documentation now reports the synonym-stage match score as
0.95, matching the existing implementation. No matching behaviour or API changed.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-06-26
Documentation
- Help pages
- 74 (32 internal)includes a package overview page
- Examples that run
- 97%31 run in a plain check (2 of them under a condition) · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 16%
- Assembling mammal trait databases for phylogenetic comparative models HTML
- Comparing tree backends — when do they agree? HTML
- From Raw Data to PCM: A Complete Bird Trait Workflow HTML
- From species names to a phylogenetic posterior — prepR4pcm + pigauto HTML
- Getting Started with prepR4pcm HTML
- Phylogenetic meta-analysis with rotl + prepR4pcm HTML
Downloads
Repository
- PRs merged (all time)
- 99%
- Median days to close, 50 most recently updated closed issues
- 5
- Median days to close, 50 most recently updated closed PRs
- 0
Stars 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/itchyshin/prepr4pcm on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-10-17
pkgdown site last built 2026-09-25
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-04-06Seen in the repository: .mcp.json, CLAUDE.mdNamed in .Rbuildignore: .claude, .mcp.json, CLAUDE.mdNamed in .gitignore: .claudePull request it wrote: opened by a project memberCommits: at least 124 crediting it in the message
- Cursorfirst seen 2026-09-12Seen in the repository: .cursorNamed in .Rbuildignore: .cursor
- Claude Opus 4.765 commits · Apr to May 2026
- Claude Opus 4.621 commits · Apr 2026
- Claude Sonnet 4.614 commits · Apr 2026
Some of these counts are a minimum, because the search stopped before the oldest commits.
Dependencies
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2026-06-25
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 487 KB / 10 files
- Download size
- 3.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("prepR4pcm")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.