Skip to content

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

@statzhero

Description

@statzhero

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions