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