diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index 5fe7fab9fcf..e0b6093e22b 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -151,6 +151,12 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Make R tests verbose + shell: cmd + run: | + cd r/tests + sed -i.bak -E -e 's/"arrow"/"arrow", reporter = "location"/' testthat.R + rm -f testthat.R.bak - name: Fetch Submodules and Tags shell: bash run: ci/scripts/util_checkout.sh diff --git a/r/tests/testthat/helper-arrow.R b/r/tests/testthat/helper-arrow.R index c330f51664c..bd35e1cb4c4 100644 --- a/r/tests/testthat/helper-arrow.R +++ b/r/tests/testthat/helper-arrow.R @@ -18,6 +18,11 @@ # Wrap testthat::test_that with a check for the C++ library options(..skip.tests = !arrow:::arrow_available()) +if (tolower(Sys.info()[["sysname"]]) == "windows") { + # See if this stabilizes tests; TODO fix the underlying issue + options(arrow.use_threads = FALSE) +} + test_that <- function(what, code) { testthat::test_that(what, { skip_if(getOption("..skip.tests", TRUE), "arrow C++ library not available")