Skip to content

GH-49901: [R] Bump minimum supported R version to 4.2 now that 4.6 is out#49929

Open
thisisnic wants to merge 6 commits intoapache:mainfrom
thisisnic:GH-49901-bump-supported-r
Open

GH-49901: [R] Bump minimum supported R version to 4.2 now that 4.6 is out#49929
thisisnic wants to merge 6 commits intoapache:mainfrom
thisisnic:GH-49901-bump-supported-r

Conversation

@thisisnic
Copy link
Copy Markdown
Member

@thisisnic thisisnic commented May 5, 2026

Rationale for this change

We don't need to support R 4.1 as a new version is out

What changes are included in this PR?

Bump minimum supported version to 4.2

Are these changes tested?

In CI, sure

Are there any user-facing changes?

Nope

Comment thread .github/workflows/r.yml
run: |
# RTools 40 uses GCC 8.x which does not support C++20 chrono timezones,
# so Arrow uses the vendored date library which requires tzdata
# Download tzdata in case the vendored date library is used for timezones
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the RTools bump and associated GCC version increase means that this is no longer needed?

Comment thread dev/tasks/macros.jinja
Comment on lines -280 to -281
{% set r_release = {"ver": "4.2", "rt" : "42"} %}
{% set r_oldrel = {"ver": "4.1", "rt" : "40"} %}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These variables are never used anywhere

@thisisnic
Copy link
Copy Markdown
Member Author

@github-actions crossbow submit -g r

@github-actions github-actions Bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels May 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Revision: 682fe0a

Submitted crossbow builds: ursacomputing/crossbow @ actions-8480702cfb

Task Status
r-binary-packages GitHub Actions
r-recheck-most GitHub Actions
test-r-alpine-linux-cran GitHub Actions
test-r-arrow-backwards-compatibility GitHub Actions
test-r-depsource-system GitHub Actions
test-r-dev-duckdb GitHub Actions
test-r-devdocs GitHub Actions
test-r-extra-packages GitHub Actions
test-r-fedora-clang GitHub Actions
test-r-gcc-11 GitHub Actions
test-r-gcc-12 GitHub Actions
test-r-install-local GitHub Actions
test-r-install-local-minsizerel GitHub Actions
test-r-linux-as-cran GitHub Actions
test-r-linux-rchk GitHub Actions
test-r-linux-sanitizers GitHub Actions
test-r-linux-valgrind GitHub Actions
test-r-m1-san GitHub Actions
test-r-macos-as-cran GitHub Actions
test-r-offline-maximal GitHub Actions
test-r-ubuntu-22.04 GitHub Actions
test-r-versions GitHub Actions

Comment on lines +26 to +36
# Ensure CA certificates are available for pacman (Rtools42+ may not bundle them)
if [ ! -f /usr/ssl/certs/ca-bundle.crt ]; then
mkdir -p /usr/ssl/certs
for src in /c/rtools45/usr/ssl/certs/ca-bundle.crt \
"/c/Program Files/Git/mingw64/etc/ssl/certs/ca-bundle.crt"; do
if [ -f "$src" ]; then
cp "$src" /usr/ssl/certs/ca-bundle.crt
break
fi
done
fi
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude addition as job fails if we don't do this - unsure if best approach but looks like a CI-specific failure and will see if it makes the CI pass.

@github-actions github-actions Bot added awaiting change review Awaiting change review awaiting changes Awaiting changes and removed awaiting changes Awaiting changes awaiting change review Awaiting change review labels May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant