test_that("foo works", {
expect_equal(foo(), 1)
})
#test_that("foo does not work", {
#expect_equal(foo(), 2)
#})
#test_that("bar errors", {
#expect_equal(bar(1), 2)
#})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.