R/runApp.R

Defines functions run_animalcules

Documented in run_animalcules

#' Run animalcules shiny app
#'
#' @import assertthat
#' @import covr
#' @import lattice
#' @import DT
#' @importFrom shinyjs addClass
#' @return The shiny app will open
#'
#' @examples 
#' \dontrun{
#' run_animalcules()
#' }
#' @export
run_animalcules <- function() {
    appDir <- system.file("shiny", package = "animalcules")
    if (appDir == "") {
        stop("Could not find myapp. Try re-installing `mypackage`.", 
            call. = FALSE)
    }
    shiny::runApp(appDir, display.mode = "normal")
}

Try the animalcules package in your browser

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

animalcules documentation built on Nov. 8, 2020, 6:47 p.m.