knitr 1.24
MAJOR CHANGES
-
The
input
argument ofknitr::knit()
must be a file path (a character string). It can no longer be connections. -
The
encoding
argument ofknitr::knit()
is ignored. The encoding is always assumed to be UTF-8. Please see https://yihui.name/en/2018/11/biggest-regret-knitr/ for more info.
BUG FIXES
- Inline code chunk references are parsed as character vectors instead of single character strings separated by
\n
now. This will avoid errors when a python code chunk contains a reference to a code chunk that contains multiple statements (thanks, @Atrebas, rstudio/rmarkdown#1589).