library(artyfarty)
context("themes return correctly")
test_that("themes return a theme object", {
theme_funcs<-Filter(function(o) grepl("theme_", o), ls("package:artyfarty"))
for(th in theme_funcs){
expect_s3_class(get(th)(), "theme")
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.