R/runAFMApp.R

Defines functions runAFMApp

Documented in runAFMApp

#' Launch the AFM shiny application
#'
#' Launch the AFM shiny graphical interface to access most of the fonctionalities of the AFM library
#'
#' @export
#' @author M.Beauvais
#' @examples
#' \dontrun{
#' install.packages("AFM")
#' AFM::runAFMApp()
#' }
runAFMApp <- function() {
  appDir <- system.file("shiny", "AFM-desktop", package = "AFM")
  if (appDir == "") {
    stop("Could not find directory. Try re-installing `AFM`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}

Try the AFM package in your browser

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

AFM documentation built on Oct. 23, 2020, 5:23 p.m.