Skip to content

Apache DataFusion SQL Query Engine

ARROW-9151: [R][CI] Fix Rtools 4.0 build: pacman sync

Neal Richardsone99fe43b96f0
diff --git a/ci/scripts/r_windows_build.sh b/ci/scripts/r_windows_build.sh
index 664603b68c..eecfc203ec 100755
--- a/ci/scripts/r_windows_build.sh
+++ b/ci/scripts/r_windows_build.sh
@@ -31,6 +31,7 @@ if [ "$RTOOLS_VERSION" = "35" ]; then
# lib-4.9.3 is for libraries compiled with gcc 4.9 (Rtools 3.5)
RWINLIB_LIB_DIR="lib-4.9.3"
else
+ pacman --noconfirm -Syy
RWINLIB_LIB_DIR="lib"
fi