tests/testthat/test_read_data_package_error.R

context("Read data package error")

testthat::test_that("read_data_package_error() works", {
  transaction <- "archive_knb-lter-sev.31999.1_16396683904724129"
  vcr::use_cassette("read_data_package_error", {
    res <- read_data_package_error(transaction)
  })
  expect_null(res)
})

Try the EDIutils package in your browser

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

EDIutils documentation built on Oct. 11, 2023, 1:08 a.m.