test_that("add works", {
expected_result <- 2 + 2
actual_result <- add(2, 2)
expect_equal(expected_result, actual_result)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.