context("comment")
test_that("comments", {
expect_equal(format(make_comment("a")), "# a")
expect_equal(format(make_comment("a", "b")), c("# a", "# b"))
expect_equal(format(make_comment(c("a", "b"))), c("# a", "# b"))
})
test_that("error checking", {
expect_error(make_comment(), "At least")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.