bs_progress <- function(along, total = length(along)) {
if (identical(getOption("bsrto.progress"), FALSE)) {
return(NULL)
}
pb <- progress::progress_bar$new(
"[:bar] :file",
total = total
)
pb$tick(0)
pb
}
bs_tick <- function(pb, file) {
if (!is.null(pb)) pb$tick(tokens = list(file = basename(file)))
}
bs_progress_finish <- function(pb) {
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.