[R] Address warnings to comply with CRAN submission policy (#5600)

* [R] Address warnings to comply with CRAN submission policy

* Include <xgboost/logging.h>
This commit is contained in:
Philip Hyunsu Cho
2020-04-25 13:34:36 -07:00
committed by GitHub
parent a23de1c108
commit 474cfddf91
2 changed files with 6 additions and 3 deletions

View File

@@ -410,7 +410,7 @@ In some very specific cases, like when you want to pilot **XGBoost** from `caret
```{r saveLoadRBinVectorModel, message=F, warning=F}
# save model to R's raw vector
rawVec <- xgb.save.raw(bst)
rawVec <- xgb.serialize(bst)
# print class
print(class(rawVec))