Commit 37916603 authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

add package dependencies shiny app

parent 9da7d2c7
......@@ -12,7 +12,7 @@ runShinyApp <- function() {
needed_packages <- c("shiny", "shinyBS", "DT", "shinyjs", "gridExtra", "png", "grid", "future", "promises", "tools")
if( sum(needed_packages %in% utils::installed.packages()[,1] == FALSE) != 0) {
stop('Install packages : install.packages(c("shiny","DT", "shinyjs", "gridExtra", "png", "grid", "future", "promises", "tools"))')
stop('Install packages : install.packages(c("shiny","shinyBS", "DT", "shinyjs", "gridExtra", "png", "grid", "future", "promises", "tools"))')
}
shiny::runApp(appDir, launch.browser = TRUE, display.mode = "normal")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment