test_that("chart() creates Chart objects", {
dtf <- data.frame(x = 1:2, y = 1:2)
expect_s3_class(chart(dtf, y ~ x), 'Chart')
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.