R/run_app.R

Defines functions run_app

Documented in run_app

#' Run the Shiny Application
#'
#' @param options A series of options to be used inside the app.
#'
#' @export
#' @importFrom shiny shinyApp

run_app <- function(options = list()) {
  shiny::shinyApp(ui = app_ui,
                  server = app_server,
                  options = options) 
}

# run_app <- function(
#   options = list()
# ) {
#   with_golem_options(
#     app = shinyApp(
#       ui = app_ui, 
#       server = app_server
#     ), 
#     golem_opts = options
#   )
# }
alberto-mateos-mo/amzreviewer documentation built on July 28, 2020, 2:17 a.m.