| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| knitr 1.49 source code.tar.gz | 2024-11-08 | 341.8 kB | |
| knitr 1.49 source code.zip | 2024-11-08 | 467.6 kB | |
| README.md | 2024-11-08 | 1.9 kB | |
| Totals: 3 Items | 811.3 kB | 0 | |
NEW FEATURES
-
In-chunk references of the form
<<label>>can be disabled via the chunk optionref.chunk = FALSEnow (thanks, @jennybc @gadenbuie, [#2360]). -
Added support for
fig.altfor LaTeX output, i.e., using\includegraphics[alt={alt text}](thanks, @capnrefsmmat, [#2378]). -
The environment in which code chunks are evaluated can be changed by passing a custom environment to
knit_global()now (thanks, @abhsarma, [#2358]).
BUG FIXES
-
In-chunk references of the form
<<label>>should not be resolved iflabelis not found in the document (thanks, @jennybc @gadenbuie, [#2360]). -
The chunk option
autodep = TRUEstopped working due to a regression from [#2321] (thanks, @heavywatal [#2344], @atusy [#2377]). -
asis_output()was not passed to theoutputhook (thanks, @cderv, [#2332]). -
Avoid partial matching of the
Date/Publicationfield when generatingcitation('knitr'), otherwise R will emit a warning whenoptions(warnPartialMatchDollar = TRUE)(thanks, @fkohrt, [#2361]).
MAJOR CHANGES
-
Unbalanced chunk delimiters (fences) in R Markdown documents are strictly prohibited now.
-
For code chunks with
error = TRUE,purl()andhook_purl()will wrap the code intry({...})(thanks, @bastistician [#2338], @jeroen [#2368]).
MINOR CHANGES
-
If a character value is passed to the chunk option
messageorwarning, it will be coerced byas.logical(), e.g., a character string"NA"will be coerced toNA(thanks, @cderv, [#2375]). -
Issue a warning when the chunk option
dependsonreceives an invalid value (thanks, @otoomet, [#2376]). -
Changed the format of the reference card from PDF to HTML so building this package will not require LaTeX. See
vignette('knitr-refcard', package = 'knitr'). -
Switched the vignette engine from knitr to
litedown::vignettefor some package vignettes.