Skip to content
Prev 371403 / 398506 Next

Shiny App inside R Package

I have this working in my package embryogrowth available in CRAN.

I have a function to call the shiny app:
web.tsd <- function() {

 ? if (!requireNamespace("shiny", quietly = TRUE)) {
 ??? stop("shiny package is absent; Please install it first")
 ? }

getFromNamespace("runApp", ns="shiny")(appDir = system.file("shiny", 
package="embryogrowth"),
 ?????????????????????????????????????? launch.browser =TRUE)

}

I have a folder inst and inside a folder shiny.
Within this folder inst/shiny/ I copy the two files server.R and ui.R

Marc

Le 17/09/2017 ? 19:31, Axel Urbiz a ?crit?:
.