context("Tests for the package")
test_that("Simple test collection", {
testthat::expect_output(sample_function(), "Hello world")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.