test_that("commaCollapsed() works", {
expect_equal(commaCollapsed(c("a", "b")), "a,b")
expect_equal(commaCollapsed(1:5), "1,2,3,4,5")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.