#' @export
updateProgress <- function(progress=NULL, detail=NULL, n=NULL, shiny=FALSE, print=TRUE){
if(isTRUE(shiny)){
# Increment the progress bar, and update the detail text.
progress$inc(1/n, detail = detail)
} else if(isTRUE(print)){
print(detail)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.