pkgdown icon indicating copy to clipboard operation
pkgdown copied to clipboard

Quarto rmd articles

Open olivroy opened this issue 1 year ago • 1 comments

@hadley Here is the example of what I mean in #2722

Basically, I am looking to find a way to reuse stuff and use Quarto vignettes.

The technique I am aiming to use is with knitr::read_chunk(). It works for Rmd, but not for Quarto.

Do you have an idea on what is going wrong here?

The article renders when I use the render button inside RStudio, but not with pkgdown.

On CI, it seems like the Rmd article is failing too.

olivroy avatar Jul 15 '24 23:07 olivroy

Going off my vague memory, it's probably because quarto vignettes are built in a temporary directory. I think you'll need to add the child to external resources?

hadley avatar Jul 29 '24 16:07 hadley