Skip to content

knitr 1.50

Latest
Compare
Choose a tag to compare
@yihui yihui released this 16 Mar 20:31
· 8 commits to master since this release

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() and write_bib() to the xfun package as xfun::join_words() and xfun::pkg_bib(), respectively, since they are not directly relevant to knitr. The functions combine_words() and write_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).