library(ggplot2)
test_that("geom_stream", {
expect_equal(class(ggplot(blockbusters, aes(year, box_office, fill = genre)) +
geom_stream()), c("gg", "ggplot"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.