1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
5 options(repos=structure(c(CRAN="http://cran.wustl.edu/")))
6 if (!requireNamespace("devtools")) {
7 install.packages("devtools")
9 if (!requireNamespace("roxygen2")) {
10 install.packages("roxygen2")
12 if (!requireNamespace("knitr")) {
13 install.packages("knitr")
15 if (!requireNamespace("markdown")) {
16 install.packages("markdown")
18 if (!requireNamespace("XML")) {
19 # XML 3.99-0.4 depends on R >= 4.0.0, but we run tests on debian
20 # stable (10) with R 3.5.2 so we install an older version from
22 install.packages("https://cran.r-project.org/src/contrib/Archive/XML/XML_3.99-0.3.tar.gz", repos=NULL, type="source")
25 devtools::install_dev_deps()