1 options(repos=structure(c(CRAN="http://cran.wustl.edu/")))
2 if (!requireNamespace("devtools")) {
3 install.packages("devtools")
5 if (!requireNamespace("roxygen2")) {
6 install.packages("roxygen2")
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")
14 if (!requireNamespace("pkgdown")) {
15 devtools::install_github("r-lib/pkgdown", ref="897ffbc016549c11c4263cb5d1f6e9f5c99efb45")
18 devtools::install_dev_deps()