Nothing
test_that("import_ui works", {
expect_is(import_ui("ID"), "shiny.tag")
})
test_that("import_server works", {
shiny::testServer(import_server, args = list(return_class = "data.table"), {
data(mtcars)
session$env$data_rv$data = mtcars
session$env$data_rv$name = "mtcars"
session$setInputs(confirm = 1)
expect_is(session$getReturned()$data(), "data.table")
expect_equal(session$getReturned()$name(), "mtcars")
})
})
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.