I'm using RStudio (2023.12.1) to create RMarkdown documents. All of a sudden, after 10 years and no change I can put discern, when running code in the the {r} snippets in the window I'm now getting these errors at seemingly random times - sometimes multiple when running one snippet:
Error in base::suppressWarnings(base::try("_", silent = TRUE)) :
invalid use of pipe placeholder (<input>:1:0)
It looks like it's trying to use the native pipe placeholder, but the code I'm running isn't using this. Many different pieces of code throw the error, but here's as minimal an example as I could find, run from a fresh session: