knitr
knitr copied to clipboard
A general-purpose tool for dynamic report generation in R
This would allow some special like keeping first URL if multiple to be apply. For example, we have this in **bookdown** where we use a CITATION file to get some...
I'm not sure when this started, but I've tried with the devel version of `knitr` and the issue persists: setting `knitr::opts_chunk$set(message = FALSE)` suppresses figure captions when the output is...
I have modularized my vignette Rmd file using `child` chunks to be able to reuse the child Rmd files in other Rmd documents via ``` ```{r child = "child_doc.Rmd"} ......
This is a partial fix for #1709, addressing the `LaTeX` case by typesetting numeric columns in math mode and wrapping commas (as decimal or thousands separators) in braces (`{}`) for...
Originally posted at https://stackoverflow.com/q/68671345/559676 --- The following is based on section 14.1 of The R Markdown Cookbook (great book BTW!) which suggests that named code chunks can be re-used. The...
When trying to knit asy code chunks, I'm getting the following error. ``` Error in engine(options) : Failed to compile the asy chunk Calls: ... process_group.block -> call_block -> block_exec...
I was very grateful to find the new alt-text feature. However it doesn't seem to work as described, and when both `fig.cap` and `fig.alt` are supplied, only `fig.alt` is present...
Resolve #2029
I've recently noticed in my knitted README and blog posts that double quoted figure captions in restructuredText documents are now being erroneously converted to html in recent versions of `{knitr}`....
When using `format = "simple"` and some cells contain newline characters, would it be manageable to implement an option for mantaining visual alignment? For example: ```r library(tidyverse, knitr) tibble(id =...