tests/testthat/admixtools_presence.R

context("Presence of ADMIXTOOLS on the system")

test_that("ADMIXTOOLS is present", {
  skip_on_cran()
  skip_on_os("windows")
  expect_true(admixtools_present())
})

test_that("ADMIXTOOLS data is present", {
  skip_on_cran()
  skip_on_os("windows")
  expect_true(dir.exists(file.path(admixtools_path(), "data")))
})

Try the admixr package in your browser

Any scripts or data that you put into this service are public.

admixr documentation built on Nov. 23, 2025, 1:06 a.m.