-
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] miscellaneous changes to comply with CRAN requirements #3338
Conversation
@guolinke here is a package built from this branch, that can be submitted: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just two minor comments that shouldn't block merging.
BTW, is it still pre-checks from CRAN? Because I don't see errors for Solaris that we haven't fixed yet.
We made it past the pre-checks (which is just Debian Linux and Windows) and are now into human review. I think it is possible that we'll be accepted, then fail the Solaris check, and then be told "hey you are failing the Solaris check, you have 30 days to fix it or we're taking you down". It's also possible that they'll allow us to stay up indefinitely without passing that check. It isn't easy to understand what the exact expectation is 😬 There are some packages currently in ERROR status on Solaris that have been allowed to stay on CRAN: https://cran.r-project.org/web/checks/check_details_r-patched-solaris-x86.html |
Sounds scary! I hope that we will be able to adopt that patch and it will work. |
haha yeah, it can happen. I'm going to try that patch this weekend (maybe even tonight) based on this advice: #629 (comment) worst-case scenario, if that doesn't work we can figure out how to disable distributed training on Solaris. I doubt anyone trying to do distributed training in LightGBM is going to provision a cluster of Solaris 10 machines 😂 I think that should be the only thing the network code is needed for. |
Co-authored-by: Nikita Titov <[email protected]>
more details:
|
ahhhh sorry! the image files are my mistake. I expect they'll allow us to keep those other words because they ard not misspellings. I'll push a change here and attach a new package in a few minutes |
Ok I've made some changes. Could you try this one? After you submit, could you reply-all to that email and tell them that we have submitted a fix for the unnecessary files, but that we think the "mispellings" note is a false positive? |
@jameslamb |
I think we cannot block the release plan by cran. |
I'm ok with that! Let's not hold up #3293 any longer. It's ok for CRAN to come a bit later.
We shouldn't have to. In my experience, projects are scrutinized much more closely the first time they're submitted to CRAN. Once we've been accepted once, we should be able to get accepted automatically for future releases. |
@StrikerRUS @guolinke I found this interesting site that checks the status of CRAN submissions! https://lockedata.github.io/cransays/articles/dashboard.html It has a dashboard that is the result of polling ftp://cran.r-project.org/incoming/. It shows we're stuck in
|
When I checked https://lockedata.github.io/cransays/articles/dashboard.html last night, there were 16 packages ahead of us (in "newbies" for longer than we've been). Now there are only two. So I hope we'll hear back in the next 24 hours! |
I've just uploaded a 3.0.0 source package, in response to #3350 . https://github.com/microsoft/LightGBM/releases/download/v3.0.0/lightgbm-3.0.0-r-cran.tar.gz I'll update it if CRAN asks for changes and we have to update this PR, but this was our users can install the 3.0.0 release of the R package easily. I can prepare binaries in a day or two. And have not forgotten about doing #3283 so that happens automatically. |
I just added a proposed CI job using sanitizers in #3439 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jameslamb Thanks a lot for this huge job with CRAN requirements! This is really great efforts!
Please take a look at some my minor comments and fix linting issue about using cat
.
Co-authored-by: Nikita Titov <[email protected]>
…nto r/description-fixes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you!
Thanks for the reviews and efforts everyone! I don't think there are any more discussions that are unresolved, so I'll merge this when CI is successful. I'll address valgrind checks, ubsan checks, and other things in follow-up PRs and hopefully by the end of November we'll be on CRAN! |
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
This PR attempts to address the most recent request for changes from CRAN, #3293 (comment), on our way to #629
See changes to
cran-comments.md
for details.