Skip to content

Apache DataFusion SQL Query Engine

ARROW-6918: [R] Make docker-compose setup faster

Antoine Pitrou035f3f3a4997
diff --git a/ci/docker_build_r.sh b/ci/docker_build_r.sh
index efce82b181..67d96d1ed4 100755
--- a/ci/docker_build_r.sh
+++ b/ci/docker_build_r.sh
@@ -28,9 +28,8 @@ 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'))"
+ # XXX ideally this sould be done from the Dockerfile, but I can't get it to work (AP)
${R_BIN} -e "remotes::install_deps(dependencies = TRUE)"
- ${R_BIN} -e "remotes::install_github('romainfrancois/decor')"
fi
make clean
diff --git a/ci/docker_build_r_sanitizer.sh b/ci/docker_build_r_sanitizer.sh
index ee11a00bf4..9b965a5bde 100755
--- a/ci/docker_build_r_sanitizer.sh
+++ b/ci/docker_build_r_sanitizer.sh
@@ -25,9 +25,7 @@ pushd /arrow/r
# 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 .