context("Testing test function")
library(mypkg1)
test_that("this is stupid", {
expect_equal(add(1, 2), 3)
expect_equal(add(2, 3), 5)
expect_equal(add(3, 1), 4)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.