Skip to content

RcppTskit

'R' Access to the 'tskit C' API

v0.2.0 · Feb 27, 2026 · MIT + file LICENSE

Description

'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.

Downloads

CRAN

190

Last 30 days

22594th

594

Last 90 days

875

Last year

Trend: +20.3% (30d vs prior 30d)

r2u CRAN

38

Last 30 days

122

Last 90 days

135

Last year

Trend: -24% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
WARNING 13 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
WARNING r-oldrel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  tskit/kastore.c:1157:32: warning: unknown conversion type character 'z' in format [-Wformat=]
  tskit/kastore.c:1157:18: warning: too many arguments for format [-Wformat-extra-args]
  tskit/kastore.c:1158:3
...[truncated]...
skit/kastore.c:1165:13: warning: too many arguments for format [-Wformat-extra-args]
See 'd:/Rcompile/CRANpkg/local/4.4/RcppTskit.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 13.3.0'
* used C++ compiler: 'g++.exe (GCC) 13.3.0'
ERROR 12 OK · 0 NOTE · 1 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/RcppTskit.Rcheck/00install.out' for details.
WARNING r-oldrel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  tskit/kastore.c:1157:32: warning: unknown conversion type character 'z' in format [-Wformat=]
  tskit/kastore.c:1157:18: warning: too many arguments for format [-Wformat-extra-args]
  tskit/kastore.c:1158:3
...[truncated]...
skit/kastore.c:1165:13: warning: too many arguments for format [-Wformat-extra-args]
See 'd:/Rcompile/CRANpkg/local/4.4/RcppTskit.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 13.3.0'
* used C++ compiler: 'g++.exe (GCC) 13.3.0'
WARNING 13 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Apr 9, 2026
WARNING r-oldrel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  tskit/kastore.c:1157:32: warning: unknown conversion type character 'z' in format [-Wformat=]
  tskit/kastore.c:1157:18: warning: too many arguments for format [-Wformat-extra-args]
  tskit/kastore.c:1158:3
...[truncated]...
skit/kastore.c:1165:13: warning: too many arguments for format [-Wformat-extra-args]
See 'd:/Rcompile/CRANpkg/local/4.4/RcppTskit.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 13.3.0'
* used C++ compiler: 'g++.exe (GCC) 13.3.0'
ERROR 12 OK · 0 NOTE · 1 WARNING · 1 ERROR · 0 FAILURE Mar 26, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘RcppTskit_intro.qmd’ using html
[31m

processing file: RcppTskit_intro.qmd
[39m
		Information on package 'RcppTskit'

Description:

Type:                      Package
Package:               
...[truncated]...
 when rendering files[39m
  
Caused by error:
! System command 'quarto' failed
--- failed re-building ‘RcppTskit_intro.qmd’

SUMMARY: processing the following file failed:
  ‘RcppTskit_intro.qmd’

Error: Vignette re-building failed.
Execution halted
WARNING r-oldrel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  tskit/kastore.c:1157:32: warning: unknown conversion type character 'z' in format [-Wformat=]
  tskit/kastore.c:1157:18: warning: too many arguments for format [-Wformat-extra-args]
  tskit/kastore.c:1158:3
...[truncated]...
skit/kastore.c:1165:13: warning: too many arguments for format [-Wformat-extra-args]
See 'd:/Rcompile/CRANpkg/local/4.4/RcppTskit.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 13.3.0'
* used C++ compiler: 'g++.exe (GCC) 13.3.0'
WARNING 13 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
WARNING r-oldrel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  tskit/kastore.c:1157:32: warning: unknown conversion type character 'z' in format [-Wformat=]
  tskit/kastore.c:1157:18: warning: too many arguments for format [-Wformat-extra-args]
  tskit/kastore.c:1158:3
...[truncated]...
skit/kastore.c:1165:13: warning: too many arguments for format [-Wformat-extra-args]
See 'd:/Rcompile/CRANpkg/local/4.4/RcppTskit.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 13.3.0'
* used C++ compiler: 'g++.exe (GCC) 13.3.0'

Dependency Network

Dependencies Reverse dependencies R6 Rcpp reticulate RcppTskit

Version History

1 tracked
new 0.2.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Feb 27, 2026. Releases before tracking aren’t shown.