R/planktr_runApp.R

#' run planktonr app
#'
#' @return launches planktonr plankton counting shiny app
#' @export
#'
planktr_runApp <- function() {
    appDir <- system.file("shiny", "app", package = "planktonr")
    if (appDir == "") {
        stop("Could not find example directory. Try re-installing `planktonr`.", call. = FALSE)
    }

    shiny::runApp(appDir, display.mode = "normal")
}
annakrystalli/planktonr documentation built on May 19, 2019, 10:48 p.m.