Skip to content

admixr

An Interface for Running 'ADMIXTOOLS' Analyses

v0.9.2 · Nov 22, 2025 · MIT + file LICENSE

Description

An interface for performing all stages of 'ADMIXTOOLS' analyses (<https://github.com/dreichlab/admixtools>) entirely from R. Wrapper functions (D, f4, f3, etc.) completely automate the generation of intermediate configuration files, run 'ADMIXTOOLS' programs on the command-line, and parse output files to extract values of interest. This allows users to focus on the analysis itself instead of worrying about low-level technical details. A set of complementary functions for processing and filtering of data in the 'EIGENSTRAT' format is also provided.

Downloads

CRAN

405

Last 30 days

10687th

1.1K

Last 90 days

5.5K

Last year

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

r2u CRAN

1

Last 30 days

25

Last 90 days

187

Last year

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

autoCRAN

11

Last 7 days

59

Last 30 days

4

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

10,189

Files

57

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,557 (15.3%)Tests 890 (8.7%)Docs 725 (7.1%)Vignettes 7,017 (68.9%)

API

Exported functions

25

Internal functions

23

Recent export changes

v0.9.2−1 keep_transitions
v0.9.1+26 %>%, count_snps, d +23 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.57

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

76.5%

\dontrun example ratio

100%

Roxygen coverage

96%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

2

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.6.0

System requirements

2

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2020-07-03

Latest release

2025-11-22

Avg cadence

1968 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v0.9.1: 9,988 LOCv0.9.2: 10,189 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies dplyr magrittr readr stringr tibble rlang slendr admixr

Version History

3 tracked
new 0.9.2 Mar 10, 2026
updated 0.9.2 ← 0.9.1 diff Nov 21, 2025
new 0.9.1 Jul 2, 2020