You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testthat::test_that("init throws when data has no datanames", {
testthat::expect_error(
init(data = teal_data(), modules = list(example_module())),
"`data` object has no datanames and its environment is empty"
)
})
This runs
The test passes because there is no data.
Defaulting
datanames
toteal_data@env
contents has made things somewhat confusing.Amend error message and unit test.
The text was updated successfully, but these errors were encountered: