Determine whether progress bars should be shownSource:
Progress bars are shown unless one of the following is
The bar is explicitly disabled by setting
options(readr.show_progress = FALSE)
The code is run in a non-interactive session (
The code is run in an RStudio notebook chunk.
The code is run by knitr / rmarkdown.