Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not show progress bar if knitting #15
When a document is being rendered with knitr,
Is it possible to use that option so by default the progress bar is not shown when knitting a document, even if the knitting is done from an interactive console? I would think that is the usual expected behaviour.
This is how is being done in the dplyr package:
Even if it is not possible, thanks for your work
pbapply does not currently check knitr options, but I guess it could. The interactive mode is checked in
I actually did not want the progress bar shown when knitting, because it prints a line for every update. But if you want it back, it is certainly doable in one way or another. You can turn on the progress bar with
I re-read your comment. OK, makes sense. You do not want the pb shown even when it is interactively running through knitr. It should be an easy fix, will need some testing.
Show pb when interactive and not rendering: