Skip to content

Apache DataFusion SQL Query Engine

ARROW-8768: [R][CI] Fix nightly as-cran spurious failure

Neal Richardson5ad16c328e06
diff --git a/ci/scripts/r_test.sh b/ci/scripts/r_test.sh
index 1124992443..78ce43071d 100755
--- a/ci/scripts/r_test.sh
+++ b/ci/scripts/r_test.sh
@@ -45,6 +45,10 @@ export _R_CHECK_LIMIT_CORES_=FALSE
# to retrieve metadata. Disable this so that S3FileSystem tests run faster.
export AWS_EC2_METADATA_DISABLED=TRUE
+# Hack so that texlive2020 doesn't pollute the home dir
+export TEXMFCONFIG=/tmp/texmf-config
+export TEXMFVAR=/tmp/texmf-var
+
# Make sure we aren't writing to the home dir (CRAN _hates_ this but there is no official check)
BEFORE=$(ls -alh ~/)