test_that("cat_line appends to file", {
tmp <- tempfile()
cat_line("a", file = tmp)
cat_line("b", file = tmp)
expect_equal(readLines(tmp), c("a", "b"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.