A small wrapper around Sys.sleep()
that adds a progress bar.
Arguments
- time
the amount of time (in seconds) to sleep
- ...
additional parameters passed to
cli::cli_progress_bar()
- message
a message to display alongside the progress bar
- .progress
whether or not to sleep with a progress bar. Defaults to
TRUE
.