test_that("use", {
if (!is_mhcnuggets_installed()) return()
expect_silent(check_mhcnuggets_options(create_test_mhcnuggets_options()))
expect_silent(
check_mhcnuggets_options(
create_test_mhcnuggets_options(
mhc_class = NA
)
)
)
expect_error(
create_test_mhcnuggets_options(folder_name = "something"),
"deprecated"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.