library(testthat)
test_that("multiplication works", {
expect_equal(2 * 2, 4)
})
test_that("addition works", {
expect_equal(2 + 2, 4)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.