Skip to content

knitr 1.24

Compare
Choose a tag to compare
@yihui yihui released this 08 Aug 04:52
· 664 commits to master since this release

MAJOR CHANGES

  • The input argument of knitr::knit() must be a file path (a character string). It can no longer be connections.

  • The encoding argument of knitr::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).