Nothing
tar_test("tar_sub_body()", {
skip_cran()
fun <- function(object, path) {
saveRDS(object, path, version = version)
}
out <- tar_sub_body(fun, list(version = 3))
expect_equal(names(formals(out)), c("object", "path"))
expect_equal(
setdiff(trimws(deparse(body(out))), c("{", "}")),
"saveRDS(object, path, version = 3)"
)
})
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.