context("testfunc")
test_that("testfunc returns true and prints message", {
expect_true(testfunc())
expect_message(testfunc())
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.