crsh / citr

RStudio Addin to Insert Markdown Citations
Other
407 stars 46 forks source link

Specific `knitr` and `citr` failure with out.width option #91

Open statzhero opened 2 years ago

statzhero commented 2 years ago

Sorry for crossposting but I figured it is so specific:

I cannot explain what is going on.

This works

{r timeline}
#| out.width="75%",
#| fig.align="center",
#| fig.cap="text"
include_graphics("../graphics/timeline-firms.pdf")

Generates an error

{r timeline}
#| out.width="100%",
#| fig.align="center",
#| fig.cap="text"
include_graphics("../graphics/timeline-firms.pdf")

Error in library(p, character.only = TRUE) : there is no package called 'citr' Calls: ... suppressPackageStartupMessages -> withCallingHandlers -> library