diff --git a/R-package/R/callback.R b/R-package/R/callback.R index 8d3f58222507..22bef94f0ae2 100644 --- a/R-package/R/callback.R +++ b/R-package/R/callback.R @@ -324,7 +324,7 @@ cb.early.stop <- function(stopping_rounds, first_metric_only = FALSE, verbose = } # Create callback - callback <- function(env, finalize = FALSE) { + callback <- function(env) { # Check for empty evaluation if (is.null(eval_len)) {