test_that("blank theme works", {
library(ggplot2)
p <- ggplot(mtcars, aes(wt, mpg)) + geom_point() + theme_rw()
expect_true(inherits(p$theme$plot.background, 'element_blank'))
expect_true(inherits(p$theme$panel.grid.major, 'element_blank'))
expect_true(inherits(p$theme$panel.grid.minor, 'element_blank'))
expect_true(inherits(p$theme$panel.border, 'element_blank'))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.