knitr
knitr copied to clipboard
A general-purpose tool for dynamic report generation in R
# Context R 3.6 and R 4.0 have change things for S3 methods lookup and the search is not more used. * About the change : https://developer.r-project.org/Blog/public/2019/08/19/s3-method-lookup/index.html * CRAN doc:...
Currently, depending on the option sets, we generate HTML using a div of class figure instead of markdown syntax https://github.com/yihui/knitr/blob/17a64ff10e9f97697178bf79de279aa668def830/R/hooks-md.R#L68-L83 An idea would be to use the **knitr** chunk label...
I am using fig.subcap to create sub-figures, which normally works really well. But when the figures do not fill the full width of the page I'd like to centre the...
This is an idea after a question by @colinfay working on **learnr** stuff : how to use purl to get only some chunks based on chunk label without modifying the...
By filing an issue to this repo, I promise that - [x] I have fully read the issue guide at https://yihui.org/issue/. - [x] I have provided the necessary information about...
I've found it challenging to create custom output formats that want to care deeply about syntax highlighting and code display because the responsibilities of evaluate and knitr are intertwined in...
I'm updating the AMS template in rticles and AMS's guidelines state that figures and tables in the appendix should be captioned with the `\appendcaption` command instead of the usual `\caption`....
Would it be possible to add an option to include a footer in HTML/LaTeX markdown docs? There is already an option for headers (knitr::opts_knit$set(header = '...')), but an option for...
When I knit this document, the following chunks generate very strange output, not consistent with the output generated by running the chunks within the Rmd document. In the chunk below,...
I'm having trouble knitting an Rmd when I set `cache=TRUE` for sql code chunks. There is some discussion of a related error https://github.com/yihui/knitr/pull/1544 and https://github.com/rstudio/rmarkdown/issues/914, but those examples seem to...