[ARVADOS] created: 1.1.3-65-g592e588
Git user
git at public.curoverse.com
Thu Feb 15 14:37:52 EST 2018
at 592e5887602af7e03ef07afc5fd400be222d22b5 (commit)
commit 592e5887602af7e03ef07afc5fd400be222d22b5
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Thu Feb 15 13:34:11 2018 -0500
Pin R deps that are installed from gitub.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/build/run-tests.sh b/build/run-tests.sh
index 520d3e8..48b3eab 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -781,19 +781,7 @@ do_install sdk/ruby ruby_sdk
install_R_sdk() {
cd "$WORKSPACE/sdk/R" \
- && R --quiet --vanilla <<EOF
-options(repos=structure(c(CRAN="http://cran.wustl.edu/")))
-if (!requireNamespace("devtools")) {
- install.packages("devtools")
-}
-if (!requireNamespace("roxygen2")) {
- install.packages("roxygen2")
-}
-if (!requireNamespace("pkgdown")) {
- devtools::install_github("hadley/pkgdown")
-}
-devtools::install_dev_deps()
-EOF
+ && R --quiet --vanilla --file=install_deps.R
}
do_install sdk/R R_sdk
diff --git a/sdk/R/install_deps.R b/sdk/R/install_deps.R
new file mode 100644
index 0000000..a54a9a2
--- /dev/null
+++ b/sdk/R/install_deps.R
@@ -0,0 +1,18 @@
+options(repos=structure(c(CRAN="http://cran.wustl.edu/")))
+if (!requireNamespace("devtools")) {
+ install.packages("devtools")
+}
+if (!requireNamespace("roxygen2")) {
+ install.packages("roxygen2")
+}
+
+# These install from github so install known-good versions instead of
+# letting any push to master break our build.
+if (!requireNamespace("pkgload")) {
+ devtools::install_github("r-lib/pkgload", ref="7a97de62adf1793c03e73095937e4655baad79c9")
+}
+if (!requireNamespace("pkgdown")) {
+ devtools::install_github("r-lib/pkgdown", ref="897ffbc016549c11c4263cb5d1f6e9f5c99efb45")
+}
+
+devtools::install_dev_deps()
diff --git a/tools/arvbox/lib/arvbox/docker/service/doc/run-service b/tools/arvbox/lib/arvbox/docker/service/doc/run-service
index 97cc79d..183ff2a 100755
--- a/tools/arvbox/lib/arvbox/docker/service/doc/run-service
+++ b/tools/arvbox/lib/arvbox/docker/service/doc/run-service
@@ -12,19 +12,7 @@ cd /usr/src/arvados/doc
run_bundler --without=development
cd /usr/src/arvados/sdk/R
-R --quiet --vanilla <<EOF
-options(repos=structure(c(CRAN="http://cran.wustl.edu/")))
-if (!requireNamespace("devtools")) {
- install.packages("devtools")
-}
-if (!requireNamespace("roxygen2")) {
- install.packages("roxygen2")
-}
-if (!requireNamespace("pkgdown")) {
- devtools::install_github("hadley/pkgdown")
-}
-devtools::install_dev_deps()
-EOF
+R --quiet --vanilla --file=install_deps.R
if test "$1" = "--only-deps" ; then
exit
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list