A Change in the Meaning of the Chunk Option message = FALSE
/ warning = FALSE
| /en/2022/12/message-false/
#1458
Replies: 3 comments 19 replies
-
Hi! This is a nice improvement but I know that you obviously expected someone to be interested in redirecting warnings and messages to the console, so I’ll go ahead and be that person! 😇 I agree with you that the option values were unintuitive, but I frequently use the console output to diagnose or record problems in otherwise hard to reach places. For example, it’s extremely handy when rendering documents in a non-interactive environment like CI. It’d be great to have a way to opt into the old behavior. |
Beta Was this translation helpful? Give feedback.
-
Bit late to the party, but are the There's some crude examples at https://support.bioconductor.org/p/9141044/ With the new evaluate version I'm getting a variety of errors like below, presumably because
|
Beta Was this translation helpful? Give feedback.
-
I'm currently in the process of updating a large number of RMarkdown reports spread across a lot of repos to R4.3 - and I'm taking the opportunity to update their renv.lock files to modern tidyverse and rmarkdown/knitr as I go. This area is causing me some challenges with our debug and monitoring logging at the moment. We've traditionally setup our RMarkdown's so that they use a
On upgrading to the latest evaluate and knitr, this functionality now seems to be broken - our report knitting just outputs minimal debug info. We've found we can get some of the previous info back by call However, this doesn't seem to entirely work for us - especially because many of our Rmd's also have local overrides in place - e.g. many report authors have added If necessary, we can go through all these reports and replace all the blocks with e.g. PS I appreciate I'm also late to the discussion here too - renv has done a magnificent job of providing us with version stability this year, but it does mean we don't notice problems like this very quickly after package updates :) |
Beta Was this translation helpful? Give feedback.
-
A Change in the Meaning of the Chunk Option "message = FALSE" / "warning = FALSE"
With a new release of the evaluate package (v0.19) last week, the meanings of the chunk option message = FALSE and warning = FALSE in knitr have changed. Previously, they meant that messages and …
https://yihui.org/en/2022/12/message-false/
Beta Was this translation helpful? Give feedback.
All reactions