R/run_app.R

Defines functions run_app

Documented in run_app

#' Run the Shiny Application
#'
#' @description Runs the 'apisensr' Shiny application. This function does not
#' return; interrupt R to stop the application (usually by pressing Ctrl+C or Esc).
#'
#' @param ... Unused arguments.
#'
#' @examples
#' \dontrun{
#' run_app()
#' }
#'
#' @export
#' @importFrom shiny shinyApp
#' @importFrom golem with_golem_options
run_app <- function(...) {
  with_golem_options(
    app = shinyApp(ui = app_ui, server = app_server),
    golem_opts = list(...)
  )
}

Try the apisensr package in your browser

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

apisensr documentation built on Sept. 8, 2023, 5:54 p.m.