test_that("check_module works as expected", {
expect_error(
check_module(
list(inits = 1)
)
)
expect_error(
check_module(
list(data = 1)
)
)
expect_error(
check_module(
list(data = list())
),
NA
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.