R/startSeaShiny.R

Defines functions startSeaShiny

Documented in startSeaShiny

#' Title Enables to start and run the app
#'
#' @return a shiny app will be launched in browser
#' @export
#' 
#' @examples
#' if(interactive()){
#' startSeaShiny()
#' }


startSeaShiny<- function(){
  appDir <- system.file("shiny-examples", "sapApp", package = "aaSEA")
  if(appDir == ""){
    stop("Could not find example directory. try reinstalling 'aaSEA", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal",quiet = TRUE)
}

Try the aaSEA package in your browser

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

aaSEA documentation built on Nov. 9, 2019, 5:07 p.m.