diff --git a/R/progress-server.R b/R/progress-server.R index f306132a..6ef7b295 100644 --- a/R/progress-server.R +++ b/R/progress-server.R @@ -316,7 +316,7 @@ builtin_handler_rstudio <- list( } }, - complete = function(bar, .envir, results) { + complete = function(bar, .envir, result) { if (!is.null(bar$rstudio_id)) { rstudioapi::jobRemove(bar$rstudio_id) } @@ -378,7 +378,7 @@ builtin_handler_shiny <- list( ) }, - complete = function(bar, .envir, results) { + complete = function(bar, .envir, result) { if (!is.null(bar$shiny_progress)) { bar$shiny_progress$set( value = bar$current,