test_that("textToObject() works", {
f <- kwb.utils:::textToObject
expect_error(f())
expect_identical(f("list(a = 1)"), list(a = 1))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.