-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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] Fix method name. #9577
[R] Fix method name. #9577
Conversation
r-devel think this is an unregistered s3 method. ``` Mismatches for apparent methods not registered: format: function(x, ...) format.eval.string: function(iter, eval_res, eval_err) See section ‘Registering S3 methods’ in the ‘Writing R Extensions’ manual. ```
cc @jameslamb |
We faced this in LightGBM's last attempt to release to CRAN too: microsoft/LightGBM#5988 Sorry, I should have come and checked for it here. By the way, if CRAN also complains about tests and examples using too many threads, you might find these links useful: microsoft/LightGBM#5987 |
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.
This should fix that NOTE from CRAN. It's conventional in R to use a .
to prefix things that are intended to be internal, so I might have named this .format_eval_string()
... but the difference isn't too important.
Thank you for sharing and the suggestions!
I will make the change, anything that makes the code better. |
r-devel thinks this is an unregistered s3 method.