R/run_app.R

Defines functions run_app

Documented in run_app

#' Run the Shiny Application
#'
#' @return A shiny app object
#' @param ... Unused, for extensibility
#' 
#' @export
#' @importFrom shiny shinyApp
#' @importFrom golem with_golem_options
run_app <- function(
  ...
) {
  options(shiny.maxRequestSize=100*1024^2)
  with_golem_options(
    app = shinyApp(
      options = list(launch.browser = TRUE),
      ui = app_ui, 
      server = app_server
    ), 
    golem_opts = list(
      print('Hi, share and enjoy')
    )
  )
}

Try the FielDHub package in your browser

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

FielDHub documentation built on Oct. 20, 2023, 1:07 a.m.