Nothing
test_that("SHINYELECTRON_DEFAULTS contains runtime strategy options", {
expect_true("valid_runtime_strategies" %in% names(SHINYELECTRON_DEFAULTS))
expect_equal(
SHINYELECTRON_DEFAULTS$valid_runtime_strategies,
c("shinylive", "bundled", "system", "auto-download", "container")
)
})
test_that("SHINYELECTRON_DEFAULTS contains container engine options", {
expect_true("valid_container_engines" %in% names(SHINYELECTRON_DEFAULTS))
expect_equal(
SHINYELECTRON_DEFAULTS$valid_container_engines,
c("docker", "podman")
)
})
test_that("SHINYELECTRON_DEFAULTS contains container defaults", {
expect_true("container" %in% names(SHINYELECTRON_DEFAULTS))
expect_equal(SHINYELECTRON_DEFAULTS$container$engine, "docker")
expect_null(SHINYELECTRON_DEFAULTS$container$image)
expect_null(SHINYELECTRON_DEFAULTS$container$tag)
expect_true(SHINYELECTRON_DEFAULTS$container$pull_on_start)
})
test_that("SHINYELECTRON_DEFAULTS contains dependency defaults", {
expect_true("dependencies" %in% names(SHINYELECTRON_DEFAULTS))
expect_true(SHINYELECTRON_DEFAULTS$dependencies$auto_detect)
expect_equal(
SHINYELECTRON_DEFAULTS$dependencies$r$repos,
list("https://cloud.r-project.org")
)
expect_equal(
SHINYELECTRON_DEFAULTS$dependencies$python$index_urls,
list("https://pypi.org/simple")
)
})
test_that("SHINYELECTRON_DEFAULTS contains logging defaults", {
expect_true("logging" %in% names(SHINYELECTRON_DEFAULTS))
expect_null(SHINYELECTRON_DEFAULTS$logging$log_dir)
expect_equal(SHINYELECTRON_DEFAULTS$logging$log_level, "info")
})
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.