fix R-devel errors (#4251)

This commit is contained in:
Tong He
2019-03-12 10:06:54 -07:00
committed by GitHub
parent a36c3ed4f4
commit 259fb809e9
4 changed files with 5 additions and 5 deletions

View File

@@ -282,7 +282,7 @@ test_that("prediction in xgb.cv works for gblinear too", {
})
test_that("prediction in early-stopping xgb.cv works", {
set.seed(1)
set.seed(11)
expect_output(
cv <- xgb.cv(param, dtrain, nfold = 5, eta = 0.1, nrounds = 20,
early_stopping_rounds = 5, maximize = FALSE, prediction = TRUE)