Download Latest Version knitr 1.51 source code.tar.gz (335.3 kB)
Email in envelope

Get an email when there's a new version of knitr

Home / v1.50
Name Modified Size InfoDownloads / Week
Parent folder
knitr 1.50 source code.tar.gz 2025-03-16 332.8 kB
knitr 1.50 source code.zip 2025-03-16 455.1 kB
README.md 2025-03-16 1.2 kB
Totals: 3 Items   789.1 kB 0

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).

Source: README.md, updated 2025-03-16