pkgdown icon indicating copy to clipboard operation
pkgdown copied to clipboard

issues with quarto files on Windows

Open d-morrison opened this issue 11 months ago • 7 comments

I'm having trouble getting pkgdown::build_site() to run on Windows for packages with quarto content.

Here's a reprex, where I set up two GHA workflows:

The two pkgdown workflows are mostly vanilla copies of https://github.com/r-lib/actions/blob/v2-branch/examples/pkgdown.yaml; I think the only changes are:

  • I renamed the workflows to specify ubuntu vs windows
  • I removed the deploy step from the windows version (to avoid collisions)
  • In the - uses: r-lib/actions/setup-r-dependencies@v2 step, I replaced extra-packages: any::pkgdown, local::. with extra-packages: r-lib/pkgdown, local::., any::quarto, to check whether the dev version of pkgdown might help and to make sure quarto-r got installed (not sure if quarto-r is even used in this workflow)

pkgdown::build_site() also fails on my local environment.

Thanks for any tips on how to solve!

d-morrison avatar Feb 04 '25 20:02 d-morrison