Nothing
context("Save-Reload-Redesign")
test_that("Save Reload Redesign works", {
N <- 100
d <- declare_model(N = N, foo = rnorm(N)) + declare_inquiry(d = mean(foo))
f <- tempfile()
suppressWarnings(
saveRDS(d, f)
)
rm(d, N)
suppressWarnings(
d <- readRDS(f)
)
expect_true(is.data.frame(draw_data(d)))
d2 <- redesign(d, N = 20)
expect_true(is.data.frame(draw_data(d2)))
})
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.