tests/testthat/test-env_exists.R

test_that("env_exists missing env_name", {
  testthat::skip_if_offline()
  testthat::skip_on_cran()

  expect_error(env_exists())
  expect_equal(env_exists(NULL), FALSE)
  expect_equal(env_exists(NA), FALSE)
})

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.