test_that("hsSubstSpecChars() works", {
f <- kwb.utils:::hsSubstSpecChars
expect_error(expect_warning(f(), "deprecated"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.