tests/testthat/test-active.R

test_that("is_active can be used to test the active configuration", {
  expect_true(config::is_active("default"))
})

Try the config package in your browser

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

config documentation built on Aug. 30, 2023, 5:16 p.m.