R/neurorct_gui.R

Defines functions neurorct_gui

Documented in neurorct_gui

#' Run the neurorct built-in shiny app
#'
#' @return run a Shiny app
#' @export
#'
#' @examples
#' #library(neurorct)
#' #neurorct_gui()
#'
#'
neurorct_gui <- function() {
  appDir <- system.file("shiny_apps", "myapp", package = "neurorct")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `neurorct`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
seonjoo/neurorct documentation built on May 7, 2020, 3:18 a.m.