I have a package ("FSA") where I have used a pkgdown
website built through a GitHub action for sometime. I am trying to add "articles" (not vignettes) developed with Quarto (not rmarkdown). I started by using usethis::use_article()
to set up the general structure. I edited the qmd file and added a few more "articles" with their own qmd files based on the first one. These files are in vignettes/articles/
. When I use pkgdown::build_site()
or pkgdown::build_articles()
locally I get the following error:
── Building articles ──────────────────────────────────────────
Reading vignettes/articles/Computing_PSDs.qmd
Reading vignettes/articles/Computing_Relative_Weights.qmd
Reading vignettes/articles/Fitting_Growth_Functions.qmd
Reading vignettes/articles/Growth_Starting_Values.qmd
Running `quarto render`
Error in `.f()`:
! No built file found for
vignettes/articles/Computing_PSDs.qmd
Run `rlang::last_trace()` to see where the error occurred.
I did try to move the "article" qmd files to just vignettes\
(rather than vignettes\articles\
) and that seemed to work locally (i.e,. it created the website as I would've expected it) but the pkgdown
GitHub action I use would not work, wtih the following error:
Error in `purrr::map()`:
ℹ In index: 1.
Caused by error in `quarto::quarto_inspect()`:
✖ Error running quarto cli.
Caused by error:
! System command 'quarto' failed
I am back to the original setup (qmds in vignettes\articles\
) as seen in this repo.
I am clearly missing something with respect to Quarto and articles, or Quarto and the pkgdown
GitHub action. I have tried look to other packages to emulate but can't seem to find something that works for me.
I am hoping someone may have some advice, even given my ill-formed question.
p.s., I am using R v 4.5.0, RStudio 2024.12.1+563, all packages are up-to-date, Quarto version 1.6.37, and Windows.