R/run_app.R

Defines functions run_app

Documented in run_app

#' Run the Shiny Application
#'
#' This function launches a Shiny App to help mentors find unanswered questions.
#'
#' @param ... arguments to pass to golem_opts. See
#'   \code{\link[golem]{get_golem_options}} for more details.
#'
#' @export
run_app <- function(...) {
  app <- shinyslack::shinyslack_app(
    ui = .app_ui,
    server = .app_server,
    team_id = .team_id
  )

  golem::with_golem_options(
    app = app,
    golem_opts = list(...)
  )
}
r4ds/mentordash documentation built on Dec. 6, 2024, 2:39 a.m.