R/fsk_runner.R

Defines functions FSK_runner

Documented in FSK_runner

#' Startup FSK runner
#'
#' Starts FSK runner within RStudio.
#'
#' @importFrom shiny runApp
#'
#' @export
#'
#' @return None
#'
FSK_runner <- function() {
    appDir <- system.file("shiny-examples", "myapp", package = "FSK2R")
    if (appDir == "") {
        stop("Could not find example directory. Try re-installing `FSK2R`.", call. = FALSE)
    }

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

Try the FSK2R package in your browser

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

FSK2R documentation built on March 18, 2022, 7:21 p.m.