-
-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor progress bar infelicity #2220
Comments
Even more nitpicky, I noticed that if I run
|
And maybe there's one extra empty line at the bottom too? (at least when > invisible(rmarkdown::render("delay.Rmd", run_pandoc = FALSE))
processing file: delay.Rmd
output file: delay.knit.md
> |
Hmmm, the first problem (where "processing..." is interleaved in the output") might actually be an RStudio problem |
It is an RStudio bug: rstudio/rstudio#8160. knitr could work around it by outputing the "Process file" message to @kevinushey pointed me to this article on why interleaving streams is generally hard: https://unix.stackexchange.com/questions/476080/what-prevents-stdout-stderr-from-interleaving/476089#476089. You might also argue that maybe the problem is that the progress bar is using |
This is almost surely an RStudio issue -- not sure if there's a way to replicate the same flow in a "regular" R instance outside of RStudio. |
I am loving the new progress bar! But I noticed a couple of small issues exemplified by this simple Rmd:
After alpha and bravo have completed and charlie is still running, I see this:
Two small problems:
processing
message appears part way in the middle of the progress barBy filing an issue to this repo, I promise that
xfun::session_info('knitr')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/knitr')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: