RcppTskit
'R' Access to the 'tskit C' API
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
110
Last 30 days
23250th
110
Last 90 days
110
Last year
CRAN Check Status
Show all 14 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-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | WARNING |
| 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 details (14 non-OK)
*
*
*
*
*
*
*
*
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:32: warning: unknown conversion type character 'z' in format [-Wformat=]
tskit/kastore.c:1158:18: warning: too many arguments for format [-Wformat-extra-args]
tskit/kastore.c:1165:40: warning: unknown conversion type character 'z' in format [-Wformat=]
tskit/kastore.c:1165:53: warning: unknown conversion type character 'z' in format [-Wformat=]
tskit/kastore.c:1165:62: warning: format '%p' expects argument of type 'void *', but argument 6 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
tskit/kastore.c:1165:13: warning: unknown conversion type character 'z' in format [-Wformat=]
tskit/kastore.c:1165:13: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
tskit/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'
*
*
*
*
*
Check History
WARNING 13 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
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:32: warning: unknown conversion type character 'z' in format [-Wformat=] tskit/kastore.c:1158:18: warning: too many arguments for format [-Wformat-extra-args] tskit/kastore.c:1165:40: warning: unknown conversion type character 'z' in format [-Wfor