Nothing
# Title : Test app runs
# Objective : slightly modified basic tests inspired by https://github.com/ThinkR-open/golem/blob/dev/R/test_helpers.R
# Created by: Joseph Percival
# Created on: 2021/03/09
library(golem)
test_that("app ui", {
ui <- app_ui()
expect_shinytaglist(ui)
})
test_that("app server", {
server <- app_server
expect_type(server, "closure")
})
# this is too buggy: https://github.com/ThinkR-open/golem/issues/410
# test_that(
# "app launches",{
# skip_on_cran()
# skip_on_travis()
# skip_on_appveyor()
# x <- processx::process$new(
# "R",
# c(
# "-e",
# "pkgload::load_all(here::here());run_app()"
# )
# )
# Sys.sleep(5)
# expect_true(x$is_alive())
# x$kill()
# }
# )
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.