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