tests/test-helpers/app7-port/app.R

library(shiny)

ui <- fluidPage(
)

server <- function(input, output, session) {
}

opts <- list(
  port = as.numeric(Sys.getenv("SHINY_TESTTHAT_PORT_APP", "8080")),
  launch.browser = FALSE
)

shinyApp(ui, server, options = opts)

Try the shiny package in your browser

Any scripts or data that you put into this service are public.

shiny documentation built on Nov. 18, 2023, 1:08 a.m.