pkgdown
pkgdown copied to clipboard
issues with quarto files on Windows
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:
.github/workflows/pkgdown.ubuntu.yaml(runs-on: ubuntu-latest) succeeds.github/workflows/pkgdown.windows.yaml(runs-on: windows-latest) fails.github/workflows/R-CMD-check.yaml:windows-latestalso fails, for what looks like the same reason
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@v2step, I replacedextra-packages: any::pkgdown, local::.withextra-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!