pb.RdShow progress bar
pb(expr, ...)R expression.
Arguments passed on to progressr::with_progress
cleanupIf TRUE, all progression handlers will be shutdown at the end regardless of the progression is complete or not.
delay_terminalIf TRUE, output and conditions that may end up in the terminal will delayed.
delay_stdoutIf TRUE, standard output is captured and relayed at the end just before any captured conditions are relayed.
delay_conditionsA character vector specifying base::condition classes to be captured and relayed at the end after any captured standard output is relayed.
interval(numeric) The minimum time (in seconds) between successive progression updates from handlers.
enable(logical) If FALSE, then progress is not reported. The default is to report progress in interactive mode but not batch mode. See below for more details.
Return data from the function called.