vroom (version 1.0.2)

vroom_progress: Determine if progress bars should be shown

Description

Progress bars are shown unless one of the following is TRUE

  • The bar is explicitly disabled by setting Sys.getenv("VROOM_SHOW_PROGRESS"="false")

  • The code is run in a non-interactive session (interactive() is FALSE).

  • The code is run in an RStudio notebook chunk.

  • The code is run by knitr / rmarkdown.

  • The code is run by testthat (the TESTTHAT envvar is true).

Usage

vroom_progress()

Arguments

Examples

Run this code
# NOT RUN {
vroom_progress()
# }

Run the code above in your browser using DataLab