REDCapCAST/tests/testthat/test-read_redcap_tables.R

7 lines
251 B
R
Raw Permalink Normal View History

2023-02-28 09:54:03 +01:00
# Test that the function throws an error when uri and token are not provided
test_that("read_redcap_tables throws error when uri and token are not provided",
{
testthat::expect_error(read_redcap_tables(uri, token))
})