incl/handler_progress.R

if (requireNamespace("progress", quietly = TRUE)) {

  handlers(handler_progress(format = ":spin [:bar] :percent :message"))
  with_progress({ y <- slow_sum(1:10) })
  print(y)
  
}
HenrikBengtsson/progressr documentation built on Jan. 26, 2024, 12:18 p.m.