Skip to content

WIP: [R-package] [ci] test on R 4.0 and 4.5#7025

Draft
jameslamb wants to merge 6 commits intomasterfrom
drop-r3
Draft

WIP: [R-package] [ci] test on R 4.0 and 4.5#7025
jameslamb wants to merge 6 commits intomasterfrom
drop-r3

Conversation

@jameslamb
Copy link
Copy Markdown
Member

@jameslamb jameslamb commented Sep 9, 2025

Proposes the following for R CI:

Notes for Reviewers

Other changes for removing R 3.x support have been split out into #7038

task: r-package
compiler: gcc
r_version: 4.3
r_version: latest
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.

For now, proposing that we use keys "latest" and "oldest" in the config and use the following specific versions in scripts:

OS oldest R latest R
linux 4.2.0 4.5.1
macos 4.0.5 4.5.1
Windows 4.3.1 4.5.1

It's difficult to test R 4.0.x on Linux in CI here because 4.2.0 is the oldest version available at https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40/

It's difficult to test R 4.0.x on Windows because rtools40 bundled different tools than later RTools, and I hadn't yet been able to figure out how to get them to interact nicely with Visual Studio 2022: https://github.com/microsoft/LightGBM/actions/runs/17572546785

@jameslamb jameslamb changed the title WIP: [R-package] [ci] drop R 3.x support (fixes #7023) WIP: [R-package] [ci] test on R 4.0 and 4.5 (fixes #7023) Sep 21, 2025
@jameslamb jameslamb changed the title WIP: [R-package] [ci] test on R 4.0 and 4.5 (fixes #7023) WIP: [R-package] [ci] test on R 4.0 and 4.5 Sep 21, 2025
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