context("test-plot_count")
test_that("plot_count works", {
library(dplyr)
expect_is(plot_count(starwars, eye_color, hair_color),
class = c("gg", "ggplot"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.