diff --git a/extdata/install_packages.R b/extdata/install_packages.R index 8b2c26047..6870848e1 100644 --- a/extdata/install_packages.R +++ b/extdata/install_packages.R @@ -7,7 +7,7 @@ install.packages("vctrs", repos='http://cran.rstudio.com/') print(packageVersion("vctrs")) -req_packages <- c("R.utils", "Rcpp", "RcppParallel", "data.table", "RcppEigen", "Matrix", "methods", "BH", "optparse", "SPAtest", "roxygen2", "rversions","devtools", "SKAT", "RhpcBLASctl", "qlcMatrix", "dplyr", "dbplyr") +req_packages <- c("R.utils", "Rcpp", "RcppParallel", "RcppArmadillo", "data.table", "RcppEigen", "Matrix", "methods", "BH", "optparse", "SPAtest", "roxygen2", "rversions","devtools", "SKAT", "RhpcBLASctl", "qlcMatrix", "dplyr", "dbplyr") for (pack in req_packages) { if(!require(pack, character.only = TRUE)) { install.packages(pack, repos = "https://cloud.r-project.org", dependencies=TRUE)