R/run_app.R

Defines functions run_app

Documented in run_app

#' Run the Shiny Application
#'
#' @param ... A series of options to be used inside the app.
#'
#' @export
#' @importFrom shiny shinyApp
#' @importFrom golem with_golem_options
run_app <- function(
  ...
) {
  with_golem_options(
    app = shinyApp(
      ui = shinymanager::secure_app(app_ui, enable_admin = T), 
      server = app_server
    ), 
    golem_opts = list(...)
  )
}
aberral/vanishong documentation built on Dec. 31, 2020, 6:40 p.m.