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
Fixes for R checks. #8330
Fixes for R checks. #8330
Conversation
In case you are using the the |
It seems I need to disable network support for R. We have tests on GitHub action with MinGW, but the linking step somehow fails on win-builder:
|
NVM, found the cause. It's the outdated makefile. |
@trivialfis Do you need help with this? |
|
Thank you for the offers! I fixed the winbuilder error, it's caused by xgboost's old makefile, not actual linking errors. See the fix here: 5b79322 Now I'm debugging issues with r-hub build error, will keep you updated. |
Test results (to be updated)
|
@jameslamb Hi, are you familiar with the rhub tests? I ran |
Merging it now for the upcoming 1.7rc. |
@trivialfis I'm very familiar with I will say...usually with In the Fedora one, for example, I see
I'm not sure how to address each of these specifically, but can say that I've found that submitting with a few customized EMAIL <- "****" # my personal email
PACKAGE_TARBALL <- "lightgbm_3.3.2.99.tar.gz"
result <- rhub::check(
path = PACKAGE_TARBALL
, email = EMAIL
, check_args = c(
"--as-cran"
)
, platforms = c(
"windows-x86_64-devel"
, "windows-x86_64-oldrel"
, "windows-x86_64-patched"
, "windows-x86_64-release"
)
, env_vars = c(
"R_COMPILE_AND_INSTALL_PACKAGES" = "always"
, "_R_CHECK_FORCE_SUGGESTS_" = "true"
, "_R_CHECK_CRAN_INCOMING_USE_ASPELL_" = "true"
)
) If activity on https://github.com/r-hub/rhub-linux-builders/commits/master and https://github.com/r-hub/rhub/commits/master are any indication, R Hub maintenance is very bursty (long periods of no activity interrupted by brief periods of lots of maintenance fixes), so it's possible you could resubmit the same code in a few days and see all checks pass. I'll also add ... the maintainers do accept bug reports and questions on the issue tracker for the R client: https://github.com/r-hub/rhub/issues. So as a last resort, you can try asking there for help. |
@jameslamb Thank you for sharing and I really appreciate the info! Will try to run more tests with rhub. |
Fixes #8329 .
Will wait for other PRs for 1.7 before getting all the needed fixes. Also, we need to change the CI as kindly suggested by @jameslamb , for unknown reason xgboost's cran test doesn't emit any warning: https://github.com/dmlc/xgboost/actions/runs/3219079146/jobs/5264008989