diff --git a/R-package/tests/testthat/test_xgboost.R b/R-package/tests/testthat/test_xgboost.R index b4e79decbb43..f3278cf37ea2 100644 --- a/R-package/tests/testthat/test_xgboost.R +++ b/R-package/tests/testthat/test_xgboost.R @@ -1004,7 +1004,8 @@ test_that("'eval_set' as fraction works", { eval_set = 0.2, nthreads = 1L, nrounds = 4L, - max_depth = 2L + max_depth = 2L, + verbosity = 0L ) expect_true(hasName(attributes(model), "evaluation_log")) evaluation_log <- attributes(model)$evaluation_log