Simple wrapper for progress_bar
for standard
and quickly ready progress bars; including messages, bar progression,
percentage and time elapsed, and ETA.
pb_len(.x, width = 76L, show_after = 2L, clear = FALSE)
tick(pb, what = "")
(int) total number of step to count
(int, default = 76) total console width used by the bar
(num, default = 2) minimum number of seconds needed for the process to display the progress bar
(lgl, default = FALSE) if TRUE, at the end of the process the progress bar will be cleared
an object of class progress_bar
(chr, default = "") short prompt to see at the beginning of the progressbar
a progress_bar
object
tick()
: wrapper function to update the progress bar