test_that("Escaper works", {
expect_equal(Escaper("a"), "\"a\"")
expect_equal(Escaper(list(a = "a")), "\"a\"")
expect_error( Escaper(x = c("a", "b"))
, "function escaper can only be used for single length character or list")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.