inst/dependencies.R

# This script have to be regularly update to contains all
# dependances needed to launch the app ()

# this instruction create the vector you need
# shinytemplate:::get_dependencies()


to_install <- c(
  "shiny",
  "shinydashboard",
  "purrr",
  "rhandsontable",
  "dplyr",
  "ggplot2",
  "tidyr"
)
for (i in to_install) {
  message(paste("looking for ", i))
  if (!requireNamespace(i)) {
    message(paste("     installing", i))
    install.packages(i)
  }

}
scaro976/Broutard documentation built on May 20, 2019, 9:39 a.m.