show_progress: Determine whether progress bars should be shown

View source: R/utils.R

show_progressR Documentation

Determine whether progress bars should be shown

Description

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").

Usage

show_progress()

tidyverse/readr documentation built on Jan. 27, 2024, 11:59 p.m.