Progress bar with timeout

progress_timeout(total, timeout, ..., show = NULL, label = NULL, digits = 0)

Arguments

total

Total number of expected things. Use NULL if you want to wait on a single thing

timeout

The number of seconds to wait

...

Additional arguments to progress::progress_bar$new

show

Flag to indicate if the bar should be displayed. If NULL then the global options queuer.progress_show and queuer.progress_suppress are used to determine if the bar is shown (with suppress overriding show). This will evaluate to TRUE by default. A logical flag overrides queuer.progress_show but not queuer.progress_suppress.

label

An optional label to prefix the timeout bar with (will not be padded with space), or in the case of total = NULL to indicate what is being waited on.

digits

The number of digits of accuracy to display the remaining time in