Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions dev/tasks/r/github.packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading