R/app.R

Defines functions dlstats_runApp biocApp cranApp

Documented in biocApp cranApp

##' run shiny App for CRAN packages
##'
##' 
##' @title cranApp
##' @return NULL
##' @export
##' @author Guangchuang Yu
cranApp <- function() {
    dlstats_runApp("cranApp")
}

##' run shiny App for BioC packages
##'
##' 
##' @title biocApp
##' @return NULL
##' @export
##' @author Guangchuang Yu 
biocApp <- function() {
    dlstats_runApp("biocApp")
}


dlstats_runApp <- function(app) {
    dir <- system.file(app, package="dlstats")
    options(shiny.launch.browser = TRUE)
    runApp <- eval(parse(text="shiny::runApp"))
    runApp(dir)
}

Try the dlstats package in your browser

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

dlstats documentation built on April 13, 2022, 5:17 p.m.