context("plot utils")
test_that("vertical_labs works", {
p <- ggplot(mtcars, aes(x = factor(cyl), y = wt)) +
geom_col() +
vertical_labs()
expect_is(p, "ggplot")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.