tests/testthat/test_colFun.R

context("Tests colFun()")

test_that("colFun() doesn't error out", {
  expect_error(colFun(1), NA)
})

Try the RevGadgets package in your browser

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

RevGadgets documentation built on Nov. 17, 2023, 1:07 a.m.