Skip to content

Apache DataFusion SQL Query Engine

ARROW-6670: [CI][R] Fix fixes for R nightly jobs

Neal Richardson840a974014d8
diff --git a/ci/docker_build_r.sh b/ci/docker_build_r.sh
index 31ba8b4991..efce82b181 100755
--- a/ci/docker_build_r.sh
+++ b/ci/docker_build_r.sh
@@ -26,6 +26,8 @@ export ARROW_HOME=$CONDA_PREFIX
pushd /arrow/r
if [ "$R_CONDA" = "" ]; then
+ # Install R package dependencies
+ # NOTE: any changes here should also be done in docker_build_r_sanitizer.sh
${R_BIN} -e "install.packages(c('remotes', 'dplyr', 'glue'))"
${R_BIN} -e "remotes::install_deps(dependencies = TRUE)"
${R_BIN} -e "remotes::install_github('romainfrancois/decor')"
diff --git a/ci/docker_build_r_sanitizer.sh b/ci/docker_build_r_sanitizer.sh
index 3a9e705c31..ee11a00bf4 100755
--- a/ci/docker_build_r_sanitizer.sh
+++ b/ci/docker_build_r_sanitizer.sh
@@ -19,12 +19,15 @@
set -e
: ${R_BIN:=RDsan}
-source /arrow/ci/docker_install_r_deps.sh
# Build arrow
pushd /arrow/r
-install_deps
+# Install R package dependencies
+# NOTE: any changes here should also be done in docker_build_r.sh
+${R_BIN} -e "install.packages(c('remotes', 'dplyr', 'glue'))"
+${R_BIN} -e "remotes::install_deps(dependencies = TRUE)"
+${R_BIN} -e "remotes::install_github('romainfrancois/decor')"
make clean
${R_BIN} CMD INSTALL --no-byte-compile .