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 June 8, 2025, 11:06 a.m.