knitr icon indicating copy to clipboard operation
knitr copied to clipboard

A general-purpose tool for dynamic report generation in R

Results 152 knitr issues
Sort by recently updated
recently updated
newest added

It's great to have the chunk options as comment; the script will fail however if the code actually produces an error. ```` r text #> ```{r error = TRUE} #>...

feature

Why knitr.kable.NA is an option not an argument to knitr::kable()? It is a bit cumbersome to change this if in multiple `kable`s I need to use a different way to...

feature

There appears to be no fast and easy way to extract the R code from HTML files generated via R Markdown. ### Example Max and Davis's [applied-ml](https://github.com/rstudio-conf-2020/applied-ml) workshop is a...

feature

This is only a suggestion for improvement. It could be useful to have some method of converting existing `.md` files to `.Rmd` Rationale: anyone who made `.md` files _without_ `.Rmd`...

feature
help needed

It is posible for knitr::spin to use the starting and end delimiters for comments backwards. This could be innocuous, but can also lead to problems. An innocuous example: ``` r...

feature

As per #841 (wontfix), you're not going to support changing the current chunk options. However, `opts_current$set` allows modifying the options and doesn't complain about it either. It even succeeds in...

feature

@yihui I have a use case for the `sql` engine where I want to assign the output of the sql query to a variable, but do it __lazily__ without collecting...

feature

I know about and regularly use `knit_exit()`. And I often find myself wanting a feature like `knit_pause()` to pause knitting between given spots in the document (especially when running `xaringan::inf_mr()`...

feature

Question directly copied from [StackOverflow](https://stackoverflow.com/questions/58839450/r-knitr-use-spin-with-r-and-python-code/58880761#58880761): With the advent of **reticulate**, combining R and Python in a single .Rmd document has become increasingly popular among the R community (myself included). Now,...

feature

When calling cable with `format = latex` the actual latex output is preceded by a newline. I can write a wrapper that strips it but was curious: Is this intentional?...

feature