CHANGES IN knitr VERSION 1.17
MAJOR CHANGES
-
the automatic detection of chunk dependencies (via the chunk option
autodep = TRUE
) is more conservative by default now; chunk B depends on chunk A if any variables in B are created in A, no matter if these variables are local or global in B; you can use the chunk optioncache.globals
to manually provide a vector of variable names that should be considered "global" to avoid the dependency when local variables in B are also found in A (thanks, @knokknok, #1403) -
for engines
css
andjs
, the source code will be displayed by default just like R code chunks, and you can hide the source code using the chunk optionecho = FALSE
(thanks, @skadauke, #1408) -
for
kable()
, thedigits
argument will be applied to columns of the classdifftime
(thanks, @RoyalTS, #1396)
BUG FIXES
-
when a table only has one column,
kable()
does not work in R Markdown documents (thanks, @expersso, yihui/printr#31) -
message(..., appendLF = FALSE)
does not work (thanks, Anastasius, http://stackoverflow.com/q/44059508/559676) -
hook_optipng()
does not work correctly when a code chunk does not contain any R-generated plots (thanks, @@zevross-spatial, #1404) -
markdown lines starting with three backticks won't be considered inline code chunks (thanks, @gadenbuie, #1416)