stRoke/tests/testthat/test-read_redcap_tables.R

6 lines
235 B
R
Raw Normal View History

# Unit Test
# Test that the function throws an error when uri and token are not provided
test_that("read_redcap_tables throws an error when uri and token are not provided", {
testthat::expect_error(read_redcap_tables(uri, token))
})