tests/testthat/test-noc_lookup.R

test_that("function returns a table of two cols", {

  skip_on_cran()

  expect_true(is.data.frame(noc_lookup()))
  expect_equal(ncol(noc_lookup()), 2)
})

Try the bodsr package in your browser

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

bodsr documentation built on Feb. 16, 2023, 8:44 p.m.