Nothing
test_that("create_orchestrator creates a new orchestrator", {
withr::with_tempdir({
create_orchestrator("orchestrator" ,open = FALSE)
expect_true(file.exists("orchestrator.R"))
}) |>
expect_message()
})
test_that("create_orchestrator aborts if file already exists", {
withr::with_tempdir({
expect_error({
create_orchestrator(".", open = FALSE)
create_orchestrator(".", open = FALSE)
}, regexp = "already exists.")
# Works if overwrite = TRUE
expect_message(
create_orchestrator(".", open = FALSE, overwrite = TRUE),
regexp = "Overwriting existing"
)
})
}) |>
suppressMessages()
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.