[R] Check warnings explicitly for model compatibility tests (#6114)
* [R] Check warnings explicitly for model compatibility tests * Address reviewer's feedback
This commit is contained in:
committed by
GitHub
parent
33577ef5d3
commit
9e955fb9b0
@@ -132,7 +132,8 @@ class QuantileHistMaker: public TreeUpdater {
|
||||
// We add this compatibility check because it's just recently that we (developers) began
|
||||
// persuade R users away from using saveRDS() for model serialization. Hopefully, one day,
|
||||
// everyone will be using xgb.save().
|
||||
LOG(WARNING) << "Attempted to load interal configuration for a model file that was generated "
|
||||
LOG(WARNING)
|
||||
<< "Attempted to load internal configuration for a model file that was generated "
|
||||
<< "by a previous version of XGBoost. A likely cause for this warning is that the model "
|
||||
<< "was saved with saveRDS() in R or pickle.dump() in Python. We strongly ADVISE AGAINST "
|
||||
<< "using saveRDS() or pickle.dump() so that the model remains accessible in current and "
|
||||
|
||||
Reference in New Issue
Block a user