test_that("defunct", {
expect_error(
theme_set(theme_INBO()),
class = c("defunctError", "error", "condition")
)
expect_error(theme_set(theme_inbo2015()), "Use 'theme_inbo()' instead")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.