tests/testthat/test-options.R

context("setting cabinet options")

test_that("options can be set", {
    cabinets_options_set("cabinets.permission" = FALSE)
    expect_false(getOption("cabinets.permission"))
})
nt-williams/Nworkr documentation built on Nov. 10, 2020, 6:14 p.m.