By default, readr shows progress bars. However, progress reporting is suppressed if any of the following conditions hold:
The bar is explicitly disabled by setting
options(readr.show_progress = FALSE)
.
The code is run in a non-interactive session, as determined by
rlang::is_interactive()
.
The code is run in an RStudio notebook chunk, as determined by
getOption("rstudio.notebook.executing")
.
show_progress()