-
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] [ci] Test failure on CRAN's r-devel-windows-x86_64-gcc10-UCRT check #4680
Comments
Given that the error says "Objects are equal but not identical", and that starting tomorrow I'll have limited availability for the next week and no access to a Windows environment, I'm tempted to just try "fixing" this by changing I expect that after some investigation we'll find that the different is something like "the encoding of the strings holding metric names changed slightly", or some other minor concern that isn't worth risking the package being removed from CRAN over. |
It appears that CRAN re-ran this check on version 3.3.0 and https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64-gcc10-UCRT/lightgbm-00check.html https://cran.r-project.org/web/checks/check_results_lightgbm.html This test should still be made more resilient to such issues to prevent future issues. |
Closed via #4714. |
This issue has been automatically locked since there has not been any recent activity since it was closed. |
Description
One of the R package's unit tests is failing on CRAN's
r-devel-windows-x86_64-gcc10-UCRT
check.full logs (click me)
Reproducible example
Full logs: https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64-gcc10-UCRT/lightgbm-00check.html
Details on how CRAN runs this check: https://cran.r-project.org/web/checks/check_flavors.html#r-devel-windows-x86_64-gcc10-UCRT
Environment info
{lightgbm}
3.3.0 submitted to CRAN a few days ago (#4633 (comment)).Additional Comments
Replicating this in CI
R Hub does not current support a build to replicate this CRAN check. They have a feature request for it at r-hub/rhub#482. (also checked this by running
rhub::platforms()
on the most recent release of{rhub}
).There is some background on the UCRT checks at https://developer.r-project.org/Blog/public/2021/03/12/windows/utf-8-toolchain-and-cran-package-checks/.
According to https://cran.r-project.org/web/checks/check_flavors.html#r-devel-windows-x86_64-gcc10-UCRT, the configuration of these checks is described in https://www.r-project.org/nosvn/winutf8/ucrt3/CRAN/checks/gcc10-UCRT/README.txt.
The specific test that's failing
The test that's failing is at
LightGBM/R-package/tests/testthat/test_lgb.Booster.R
Line 424 in d130bb1
It was added in #4545 .
Based on the error message, I expect that the problem is coming from
LightGBM/R-package/tests/testthat/test_lgb.Booster.R
Line 469 in d130bb1
The text was updated successfully, but these errors were encountered: