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")))
})
bodkan/admixr documentation built on July 29, 2023, 3:31 a.m.