R/run_app.R

Defines functions run_app

Documented in run_app

#' Run the Shiny Application
#'
#' @param with_mongo Do you want to use mongo as a backend?
#' @export
#' @importFrom shiny shinyApp
#' @importFrom golem with_golem_options
run_app <- function(with_mongo = TRUE) {
  golem::with_golem_options(
    app = shinyApp(ui = app_ui, server = app_server),
    golem_opts = list(
      with_mongo = with_mongo
    )
  )
}
ColinFay/hexmake documentation built on Feb. 2, 2023, 7:55 a.m.