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] Remove stringi dependency #6109

Merged
merged 5 commits into from
Sep 12, 2020
Merged

[R] Remove stringi dependency #6109

merged 5 commits into from
Sep 12, 2020

Conversation

vspinu
Copy link
Contributor

@vspinu vspinu commented Sep 10, 2020

Per discussion in #5905

Copy link
Collaborator

@hcho3 hcho3 left a 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
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

Copy link
Collaborator

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.

Copy link
Contributor Author

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.

@vspinu
Copy link
Contributor Author

vspinu commented Sep 12, 2020

The train output makes it difficult to see what's going on during local development. But ok, if this is standard practice here.

Copy link
Collaborator

@hcho3 hcho3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@hcho3 hcho3 merged commit 1453bee into dmlc:master Sep 12, 2020
@hcho3
Copy link
Collaborator

hcho3 commented Sep 13, 2020

@vspinu I opened #6114 to suppress warnings in test_model_compatibility.R.

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.

2 participants