[ARVADOS] updated: 1.1.3-69-gf53e3ed

Git user git at public.curoverse.com
Thu Feb 15 14:52:10 EST 2018


Summary of changes:
 build/run-tests.sh                                     | 14 +-------------
 sdk/R/install_deps.R                                   | 18 ++++++++++++++++++
 tools/arvbox/lib/arvbox/docker/service/doc/run-service | 14 +-------------
 3 files changed, 20 insertions(+), 26 deletions(-)
 create mode 100644 sdk/R/install_deps.R

       via  f53e3ede584a9354ec2d73f67b6800949b3b4079 (commit)
       via  ad5dcfa3ea9c1b6500b4de1ba0cf8bc0560188da (commit)
      from  359de7e4f707e744356e98b14e620d15041c409d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit f53e3ede584a9354ec2d73f67b6800949b3b4079
Merge: 359de7e ad5dcfa
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Thu Feb 15 14:51:43 2018 -0500

    Merge branch '11876-R-deps' refs #11876
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>


commit ad5dcfa3ea9c1b6500b4de1ba0cf8bc0560188da
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Thu Feb 15 13:34:11 2018 -0500

    11876: 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