tests/testthat/test-validate_dsn.R

context(".validate_dsn")

# Test that .validate_dsn stops if the dsn is not provided ---------------------

test_that(".validate_dsn stops if the dsn is not provided", {
  skip_on_cran()
  dsn <- NULL
  expect_error(.validate_dsn(dsn))
})

Try the getCRUCLdata package in your browser

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

getCRUCLdata documentation built on Oct. 26, 2020, 9:06 a.m.