test_that("Can run an example", {
pkg <- "testHelp"
expect_output(
suppressMessages(run_examples(pkg = pkg, document = FALSE)),
"You called foofoo.",
fixed = TRUE
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.