tests/testthat/test-fnc_styleTabC2.R

testthat::test_that(
  desc = "styleTabC2 works",
  code = {
    x <- eCerto:::test_Certification_Excel()
    suppressWarnings({ x <- eCerto:::prepTabC2(dat = x) })
    x <- eCerto:::styleTabC2(x = x, n = 2)
    testthat::expect_true(inherits(x, "datatables"))
  }
)

Try the eCerto package in your browser

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

eCerto documentation built on April 12, 2025, 9:13 a.m.