diff --git a/R-package/R/lgb.Booster.R b/R-package/R/lgb.Booster.R index 755b171724f9..2256a250b131 100644 --- a/R-package/R/lgb.Booster.R +++ b/R-package/R/lgb.Booster.R @@ -1462,7 +1462,6 @@ lgb.get.eval.result <- function(booster, data_name, eval_name, iters = NULL, is_ , toString(eval_names) , "]" )) - stop("lgb.get.eval.result: wrong eval name") } result <- booster$record_evals[[data_name]][[eval_name]][[.EVAL_KEY()]]