Closed hadley closed 1 year ago
Thanks! The error message includes `r `
now, and the reason is written to the next line:
#> Error: Failed to parse the inline R code: `r 1 + `
#> Reason: <text>:2:0: unexpected end of input
#> 1: 1 +
#> ^
Much better, thanks!
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
It's hard for me to understand this error (which I think is new in https://github.com/yihui/knitr/commit/3cbf47f31efebc28b59ac35c2ba07cbd3dd844ac)
Created on 2022-09-20 with reprex v2.0.2
I'd find it easier to understand if it was more like:
By 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.