This is an automated email from the ASF dual-hosted git repository.
thisisnic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 0ab78e2df48 GH-55377: [R][CI] Windows Rtools40 jobs fail since
2026-10-30: setup-r hard-codes a cran.rstudio.com URL for Rtools40 that now
404s (#55378)
0ab78e2df48 is described below
commit 0ab78e2df489055b71a7d26a666a52823f87f01c
Author: Nic Crane <[email protected]>
AuthorDate: Tue Nov 3 16:57:44 2026 +0000
GH-55377: [R][CI] Windows Rtools40 jobs fail since 2026-10-30: setup-r
hard-codes a cran.rstudio.com URL for Rtools40 that now 404s (#55378)
### Rationale for this change
Nightly builds failing due to a change in RTools URL and problem with job
### What changes are included in this PR?
Don't pass in rtools version, as this can be inferred anyway
### Are these changes tested?
No
### Are there any user-facing changes?
No
**PR code and description written by:**
- [ ] Human
- [x] AI
**Reviewed before submission by:**
- [x] Human
- [x] AI
- [ ] Not reviewed
* GitHub Issue: #55377
Authored-by: Nic Crane <[email protected]>
Signed-off-by: Nic Crane <[email protected]>
---
.github/workflows/r.yml | 7 +++----
dev/tasks/r/github.packages.yml | 5 +++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml
index 98b301d095d..4ae8e3b19bb 100644
--- a/.github/workflows/r.yml
+++ b/.github/workflows/r.yml
@@ -228,11 +228,10 @@ jobs:
r-${{ matrix.config.rtools }}-ccache-mingw-${{ matrix.config.arch
}}-
- uses: r-lib/actions/setup-r@v2
with:
- # Note: RTools must be 40 here because RTools40 + ucrt is how we
build the Arrow C++
- # static library. The R is not used here but R 4.1 was the last R to
use
- # Rtools40.
+ # Note: we need Rtools40 here because Rtools40 + ucrt is how we
build the Arrow C++
+ # static library. R itself is not used, but setup-r picks the Rtools
version from
+ # r-version, and R 4.1 was the last R to use Rtools40, so this must
stay at 4.1.
r-version: "4.1"
- rtools-version: ${{ matrix.config.rtools }}
Ncpus: 2
- name: Build Arrow C++
shell: bash
diff --git a/dev/tasks/r/github.packages.yml b/dev/tasks/r/github.packages.yml
index 5ac13a84b73..a1f117ddf46 100644
--- a/dev/tasks/r/github.packages.yml
+++ b/dev/tasks/r/github.packages.yml
@@ -183,8 +183,9 @@ jobs:
{{ macros.github_change_r_pkg_version(is_fork, '${{
needs.source.outputs.pkg_version }}')|indent }}
- uses: r-lib/actions/setup-r@v2
with:
- rtools-version: 40
- r-version: "4.0"
+ # R 4.1 was the last R to use Rtools40, which is how we build the
+ # Arrow C++ static library. setup-r installs Rtools40 for it.
+ r-version: "4.1"
Ncpus: 2
- name: Install sccache
shell: bash