diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index 4a9c605e3bc..4f706e3e5b1 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -327,6 +327,14 @@ jobs: shell: Rscript {0} working-directory: r run: | + Sys.setenv( + RWINLIB_LOCAL = file.path(Sys.getenv("GITHUB_WORKSPACE"), "r", "windows", "libarrow.zip"), + MAKEFLAGS = paste0("-j", parallel::detectCores()), + ARROW_R_DEV = TRUE, + "_R_CHECK_FORCE_SUGGESTS_" = FALSE + ) + # we use pak for package installation since it is faster, safer and more convenient + pak::local_install() pak::pak("lintr") lintr::expect_lint_free() - name: Dump install logs diff --git a/r/tests/testthat/test-dplyr-glimpse.R b/r/tests/testthat/test-dplyr-glimpse.R index 9deb9087b17..c93273bdeef 100644 --- a/r/tests/testthat/test-dplyr-glimpse.R +++ b/r/tests/testthat/test-dplyr-glimpse.R @@ -17,7 +17,7 @@ # The glimpse output for tests with `example_data` is different on R < 3.6 # because the `lgl` column is generated with `sample()` and the RNG -# algorithm is different in older R versions. +# algorithm is different in older R versions. skip_on_r_older_than("3.6") library(dplyr, warn.conflicts = FALSE)