-
-
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] Remove stringi dependency #6109
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.
Please keep verbose = 1
. The verbose output helps us diagnose should any issues arise. All other tests also has verbose outputs.
} | ||
predict(booster, newdata = pred_data) | ||
run_booster_check(booster, name) | ||
## don't print C level compatibility warnings |
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.
Please keep the compatibility warnings. The warnings are expected.
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 is exactly why I suppressed them, because they are expected. They just pollute the test output.
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.
For this test case, we can add gives_warning()
to ensure that this test throws a warning. I can do that in a future pull request.
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.
I have inhibited only C level warnings here, the R level warnings are still there and testhat still complains. So it's redundat. But ok, I have removed for now. It's for another PR indeed.
The train output makes it difficult to see what's going on during local development. But ok, if this is standard practice here. |
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 a lot!
Per discussion in #5905