Skip to content

Apache DataFusion SQL Query Engine

ARROW-7829: [R] Test R bindings on clang

Neal Richardsonf9b256d280cf
diff --git a/dev/tasks/homebrew-formulae/travis.osx.r.yml b/dev/tasks/homebrew-formulae/travis.osx.r.yml
index e248d72ddd..3ff5854da4 100644
--- a/dev/tasks/homebrew-formulae/travis.osx.r.yml
+++ b/dev/tasks/homebrew-formulae/travis.osx.r.yml
@@ -42,15 +42,13 @@ before_install:
- cd arrow/r
# Put the formula inside r/ so that it's included in the package build
- cp ../dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb tools/apache-arrow.rb
-# Always use binary packages
-- echo 'options(install.packages.check.source = "no")' >> $R_PROFILE
# Hack for old macOS (10.11)
# See https://travis-ci.community/t/library-developer-commandlinetools-sdks-macosx-sdk-missing-on-el-capitain/3213/3
- sed -i.bak 's/-isysroot /-I/g' $(R RHOME)/etc/Makeconf
script:
-- travis_wait R CMD build --no-build-vignettes .
+- Rscript -e 'install.packages("rcmdcheck")'
# Note that this is not --as-cran. CRAN doesn't do macOS checks --as-cran
-- travis_wait R CMD check arrow_*.tar.gz --no-manual --ignore-vignettes --install-args="--build"
+- travis_wait Rscript -e "rcmdcheck::rcmdcheck(build_args = '--no-build-vignettes', args = c('--no-manual', '--ignore-vignettes', '--run-donttest'), error_on = 'warning', check_dir = 'check')"
after_failure:
# If there's a build failure, it's probably in this log
- cat arrow.Rcheck/00install.out