R/runExample.R

Defines functions runArenaApp

Documented in runArenaApp

#' Run Arena App
#'
#' This function will launch a Shiny App allowing you to analyse Arena results without writing R code.
#' @export
runArenaApp <- function() {

  appDir <- system.file("shiny-examples", "arenaapp", package = "arena2r")

  if (appDir == "") {
    stop("Could not find example directory. Try re-installing arena2r.", call. = FALSE)
  }

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

Try the arena2r package in your browser

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

arena2r documentation built on May 2, 2019, 3:47 p.m.