tests/testthat/test-internal_functions.R

test_that("stop2", {


  expect_error(stop2("stop!"))

})


test_that("stop2", {


  expect_warning(warning2("warning!"))

})
maRce10/ohun documentation built on Oct. 25, 2024, 6:22 p.m.