-
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
[docs][R-package] update docs on C++ interface #4257
Conversation
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.
Found some places where docs can be improved further within this PR. Please check comments below:
Co-authored-by: Nikita Titov <[email protected]>
Co-authored-by: Nikita Titov <[email protected]>
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.
Thanks for doing this!
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. |
There have been several changes to the R package's C++ interface recently, in works towards #3016.
As a result of those changes (and other changes before), the documentation comments in
R-package/src/lightgbm_R.h
contain some inconsistencies, typos, and other small issues. For example, as of #4244 most of the functions there return an R NULL value, but their docs still say they return an integer indicating whether they succeeded or failed.This PR proposes fixing them.
Notes for Reviewers
I intentionally skipped the four functions modified in #4256, since that PR changes those functions' signatures and docs.