R/launch_steplist_creator.R

Defines functions launch_steplist_creator

Documented in launch_steplist_creator

#' Launch steplist creator `shiny` app
#'
#' Run this function to start the Steplist Creator `shiny` app.
#'
#' @returns The `launch_steplist_creator` function is used for the side effect of starting the Steplist Creator `shiny` app.
#' @export
#'
#' @examples
#' if(interactive()){
#' launch_steplist_creator()
#' }
launch_steplist_creator <- function() {
  appDir <- system.file("shiny", "steplist_creator", package = "epicmodel")
  if (appDir %>% magrittr::equals("")) {
    cli::cli_abort("Could not find directory. Try re-installing `epicmodel`.")
  }

  #shiny::runApp(appDir, display.mode = "normal")
  shiny::shinyAppDir(appDir)
}

Try the epicmodel package in your browser

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

epicmodel documentation built on April 12, 2025, 1:59 a.m.