CHANGES IN knitr VERSION 1.19
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 optiondev = 'tikz'
to PDF, which means you have to install the tinytex package if you use this device. -
Similarly,
tinytex::latexmk()
is used inknit2pdf()
andstitch()
.
BUG FIXES
-
Fixed rstudio/bookdown#501: the chunk option
out.height
can also take a percentage value when the output format is LaTeX (similar toout.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).