Merge branch 'master' of git.curoverse.com:arvados into 13076-r-autogen-api
[arvados.git] / sdk / R / install_deps.R
1 options(repos=structure(c(CRAN="http://cran.wustl.edu/")))
2 if (!requireNamespace("devtools")) {
3   install.packages("devtools")
4 }
5 if (!requireNamespace("roxygen2")) {
6   install.packages("roxygen2")
7 }
8
9 # These install from github so install known-good versions instead of
10 # letting any push to master break our build.
11 if (!requireNamespace("pkgload")) {
12   devtools::install_github("r-lib/pkgload", ref="7a97de62adf1793c03e73095937e4655baad79c9")
13 }
14 if (!requireNamespace("pkgdown")) {
15   devtools::install_github("r-lib/pkgdown", ref="897ffbc016549c11c4263cb5d1f6e9f5c99efb45")
16 }
17
18 devtools::install_dev_deps()