tests/testthat/test-requirements.R

test_that("Test requirements file", {
  skip_on_cran()

  # Sanity check to make sure the directory exists
  expect_true(file.exists("requirements.txt"))
  audit = audit_req_txt()
  expect_equal(ncol(audit), 8)
  expect_equal(nrow(audit), 31)
})

Try the oysteR package in your browser

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

oysteR documentation built on Jan. 11, 2021, 1:36 a.m.