-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[R-package] Support R 4.2 #4881
Comments
Linking this helpful doc that was mentioned on the r-pkg-devel mailing list this week: https://cran.r-project.org/bin/windows/base/howto-R-4.2.html |
R 4.2 will be released on April 22 (11 days from now): https://developer.r-project.org/ |
With logs reported in #5140, we have an evidence that LightGBM can be successfully compiled for the |
This issue has been automatically locked since there has not been any recent activity since it was closed. |
Summary
R 4.2 is going to include some significant changes to how packages are built on Windows. I've created this "feature request" to document those changes in this project's backlog and so that we have something to link conversations to if users report issues on R 4.2.x, but R 4.2 has not yet been released.
Motivation
{lightgbm}
, the R package for LightGBM, should continue to work with new versions of R.Description
See https://developer.r-project.org/Blog/public/2021/12/07/upcoming-changes-in-r-4.2-on-windows/. This was shared by Tomas Kalibera on the r-pkg-devel mailing list.
Some notable quotes
According to that blog post, there is now support for testing on R Hub with the UCRT toolchain. See https://builder.r-hub.io/advanced.
So I think it would be useful to add a new comment-triggered workflow, similar to the existing Solaris one.
https://github.com/microsoft/LightGBM/blob/80662618996431c222e6c92cbba7e784f8a935cd/.github/workflows/r_solaris.yml
References
Since March of this year, CRAN has been running checks with this toolchain on existing packages.
{lightgbm}
is currently passing those checks without WARNINGs or ERRORs!https://cran.r-project.org/web/checks/check_results_lightgbm.html
The text was updated successfully, but these errors were encountered: