Skip to content

CHANGES IN knitr VERSION 1.19

Compare
Choose a tag to compare
@yihui yihui released this 29 Jan 15:17
· 911 commits to master since this release

NEW FEATURES

  • spin() now supports code chunks of the form -- ---- label ---- allowing external SQL and Haskell files to be spun (thanks, @ruaridhw, #1492)

MAJOR CHANGES

  • tinytex::latexmk() is used to compile LaTeX plots generated by the chunk option dev = 'tikz' to PDF, which means you have to install the tinytex package if you use this device.

  • Similarly, tinytex::latexmk() is used in knit2pdf() and stitch().

BUG FIXES

  • Fixed rstudio/bookdown#501: the chunk option out.height can also take a percentage value when the output format is LaTeX (similar to out.width), e.g., out.height = '30%' means .3\textheight (thanks, @dataopt, #1482).

  • imgur_upload() starts to fail due to changes in Imgur's API (thanks, @jennybc, #1495).