tests/testthat/test-addins.R

testthat::test_that("scope_selection", {
  testthat::with_mock(
    "colonoscopy::check_rstudio" = function() FALSE,
    testthat::expect_error(colonoscopy::scope_selection())
  )
})
TylerGrantSmith/colonoscopy documentation built on Aug. 22, 2022, 11:58 p.m.