RcppTskit
0.2.0'R' Access to the 'tskit C' API
Overview
'Tskit' enables efficient storage, manipulation, and analysis of ancestral recombination graphs (ARGs) using succinct tree sequence encoding. The tree sequence encoding of an ARG is described in Wong et al. (2024) doi:10.1093/genetics/iyae100, while `tskit` project is described in Jeffrey et al. (2026) doi:10.48550/arXiv.2602.09649. See also https://tskit.dev for project news, documentation, and tutorials. 'Tskit' provides 'Python', 'C', and 'Rust' application programming interfaces (APIs). The 'Python' API can be called from 'R' via the 'reticulate' package to load and analyse tree sequences as described at https://tskit.dev/tutorials/tskitr.html. 'RcppTskit' provides 'R' access to the 'tskit C' API for cases where the 'reticulate' option is not optimal; for example, high-performance or low-level work with tree sequences. Currently, 'RcppTskit' provides a limited set of 'R' functions because the 'Python' API and 'reticulate' already covers most needs.
Install
Health
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-04-2213 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1812 OK · 0 NOTE · 1 WARNING · 1 ERROR · 0 FAILURE
- WARNING2026-04-0913 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-03-2612 OK · 0 NOTE · 1 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
- WARNING2026-03-1013 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 70%
- Documented parameters
- 100%
- Return-value docs
- 78%
- References docs
- 0%
Downloads
Repository
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/highlanderlab/rcpptskit on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 8 max
- Test cases
- 12 / 1.08 per code line
Test coverage
Line coverage
21%
Expression
20.5%
Tests / Examples
21.1% / 20% ex
Functions
1063 8 exported
Complexity
1.6 avg / 8 max
Call network
1063 nodes / 1910 edges
Call graph
Open call graph →Lowest coverage
1063 functions| Function | Cyclo | Coverage |
|---|---|---|
| check_tskit_py exp | 4 | 100% |
| get_tskit_py exp | 8 | 100% |
| tc_py_to_r exp | 1 | 100% |
| ts_py_to_r exp | 1 | 100% |
| load_args_to_options | 3 | 100% |
| tc_ptr_print | 2 | 100% |
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.2.0Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-27
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 266 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet