tests/testthat/test-get_env_dir.R

test_that("get_env_dir() works", {
  env_name <- "condathis-test-env"
  testthat::expect_equal(
    fs::path(get_install_dir(), "envs", env_name),
    get_env_dir(env_name)
  )
})

Try the condathis package in your browser

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

condathis documentation built on April 12, 2025, 2:01 a.m.