R/run_app.R

Defines functions run_app

Documented in run_app

# Title     : gwpcorMapper
# Objective : Wrapper to launch gwpcorMapper.
# Created by: Joseph Percival
# Created on: 2021/02/26
#' Launches gwpcorMapper.
#'
#' @param ... A series of options to be used inside the app.
#'
#' @export
#' @importFrom shiny shinyApp
#' @importFrom golem with_golem_options
#' @return null
#' @examples
#' \dontrun{
#' gwpcormapper::run_app()
#' }
run_app <- function(
  ...
) {
  with_golem_options(
    app = shinyApp(
      ui = app_ui, 
      server = app_server
    ), 
    golem_opts = list(...)
  )
}

Try the gwpcormapper package in your browser

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

gwpcormapper documentation built on Dec. 11, 2021, 9:39 a.m.