R/shiny.R

Defines functions rplanes_explorer

Documented in rplanes_explorer

#' @title `rplanes` explorer app launcher
#'
#' @description
#'
#' The `rplanes` explorer app allows a user to interactively upload their own data (or view an internal example) to explore the plausibility analysis functionality.
#'
#' @param ... Additional arguments to be passed to [shiny::runApp]
#'
#' @return This function operates as a side-effect and starts the `rplanes` Shiny app.
#'
#' @export
#'
#' @examples
#' \dontrun{
#' # Launch the explorer app
#' rplanes_explorer(host = "0.0.0.0",
#'                  launch.browser = TRUE,
#'                  port = 80)
#' }
rplanes_explorer <- function(...){
  shiny::runApp(appDir = system.file("app", package="rplanes"), ... )
}

Try the rplanes package in your browser

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

rplanes documentation built on Sept. 11, 2024, 9:01 p.m.