test_that("encode decode works", {
df <- data.frame(x = 1, y = "1")
expect_equal(class(decode(df, x)$x), "character")
expect_equal(class(encode(df, y)$y), "numeric")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.