Skip to content

CHANGES IN knitr VERSION 1.17

Compare
Choose a tag to compare
@yihui yihui released this 10 Aug 05:20
· 1009 commits to master since this release

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 option cache.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 and js, the source code will be displayed by default just like R code chunks, and you can hide the source code using the chunk option echo = FALSE (thanks, @skadauke, #1408)

  • for kable(), the digits argument will be applied to columns of the class difftime (thanks, @RoyalTS, #1396)

BUG FIXES