NEW FEATURES
-
For inline code expressions, their specific line numbers will be shown in the message when errors occur (thanks, @kevinushey, #2387). Previously, the numbers were not specific to the inline code but the lines of the whole text chunk containing the inline code, which are often quite vague.
-
Display error traceback when vignettes fail in
R CMD build
(thanks, @hadley, #2390). -
kable()
properly supports column alignment for Org Mode tables now (thanks, @mclements, #2391).
MINOR CHANGES
-
Moved implementations of
combine_words()
andwrite_bib()
to the xfun package asxfun::join_words()
andxfun::pkg_bib()
, respectively, since they are not directly relevant to knitr. The functionscombine_words()
andwrite_bib()
are still kept in knitr, and can continue to be used in the future. -
A warning will be issued when chunk options are duplicated in both the chunk header and pipe comments (thanks, @cderv, #2386). A chunk option should appear in only one of these places.
-
Removed the function
read_rforge()
since it has stopped working for a long time. -
Removed demos from the package (which were early experiments from several years ago).