Description Usage Arguments Value Examples
A progress bar using the progress package
1 |
... |
All arguments are passed to the constuctor of the progress::progress_bar class. |
A remote progress bar object that can be used the same way as progress::progress_bar, see examples below.
1 2 3 4 5 6 | {
p <- cli_progress_bar(total = 10)
cli_alert_info("Starting computation")
for (i in 1:10) { p$tick(); Sys.sleep(0.2) }
cli_alert_success("Done")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.