Nothing
test_that("use_codespace works", {
run_tests <- function(path){
testthat::expect_true(file.exists(path))
jsn <- jsonlite::read_json(path)
testthat::expect_true(
all(c("image","features","customizations") %in% names(jsn))
)
}
save_dir <- tempdir()
## First time
path <- use_codespace(save_dir=save_dir)
run_tests(path)
## Second time
path2 <- use_codespace(save_dir=save_dir, show=TRUE)
run_tests(path2)
})
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.