test_that("plots work", {
expect_is(dplot(Z_potts), "ggplot")
expect_is(cplot(Z_potts + rnorm(prod(dim(Z_potts)))), "ggplot")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.