Nothing
test_that("errors reset snapshots", {
if (nzchar(Sys.getenv("VDIFFR_REGENERATE_SNAPS"))) {
expect_doppelganger("error resets snapshots", function() plot(1:3))
} else {
expect_doppelganger("error resets snapshots", function() stop("failing"))
}
})
test_that("skips reset snapshots", {
if (nzchar(Sys.getenv("VDIFFR_REGENERATE_SNAPS"))) {
expect_doppelganger("skip resets snapshots", function() plot(1:3))
} else {
expect_doppelganger("skip resets snapshots", function() skip("skipping"))
}
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.