tests/testthat/test-validate_dsn.R

# 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))
})
ropensci/getCRUCLdata documentation built on April 4, 2024, 12:02 a.m.