plot <- pigs1 %>%
grim_map() %>%
grim_plot()
test_that("`grim_plot()` returns a ggplot object", {
plot %>% expect_s3_class("ggplot")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.