context("Handles lattice objects")
library(lattice)
testGraph <- xyplot(Wind~Day, data = airquality, main = "Test")
test_that("Defaults work with lattice objects", {
expect_error(structure(ggTag(testGraph)), NA)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.