Skip to content
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] Use R's error stream for printing warnings #9965

Merged
merged 2 commits into from Jan 8, 2024

Conversation

david-cortes
Copy link
Contributor

ref #9810

Currenly, warnings that are thrown from the C++ side are printed as regular R standard output messages, which doesn't convey the idea of being warnings.

This PR switches modifies them to be printed using REprintf (R's stderr analog), so that they would look like regular R warnings.

@trivialfis trivialfis merged commit 7ff6d44 into dmlc:master Jan 8, 2024
24 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants