test_that("png output", {
check_png("test.png")
expect_snapshot_file("test.png")
})
test_that("png output grid", {
check_png_grid("test_grid.png")
expect_snapshot_file("test_grid.png")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.