tests/testthat/test-ColTypeR.R

requireNamespace("testthat")
testthat::test_that("ColTypeR class is correct", {
  testthat::expect_type(BeeBDC::ColTypeR(), "list")
})

testthat::test_that("ColTypeR class is correct", {
  testthat::expect_equal(attributes(BeeBDC::ColTypeR())$class, "col_spec")
})

Try the BeeBDC package in your browser

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

BeeBDC documentation built on Nov. 4, 2024, 9:06 a.m.