diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 17cb505c1..6e2f6dd60 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -55,10 +55,12 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::rcmdcheck + extra-packages: any::rcmdcheck, quarto=quarto-dev/quarto-r, local::. needs: check - uses: r-lib/actions/check-r-package@v2 + env: + R_QUARTO_QUIET: FALSE with: upload-snapshots: true build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' diff --git a/vignettes/quarto.qmd b/vignettes/quarto.qmd index 12820c2b1..e341de5d0 100644 --- a/vignettes/quarto.qmd +++ b/vignettes/quarto.qmd @@ -1,6 +1,6 @@ --- title: quarto vignettes -description: > +description: > Learn how quarto vignettes work with pkgdown, including currently supported features and known limitations. vignette: > @@ -8,7 +8,7 @@ vignette: > %\VignetteEngine{quarto::html} %\VignetteEncoding{UTF-8} knitr: - opts_chunk: + opts_chunk: collapse: true comment: '#>' --- @@ -26,7 +26,7 @@ project: ### GitHub Actions -The `setup-r-dependencies` action will [automatically](https://github.com/r-lib/actions/tree/v2-branch/setup-r-dependencies#usage) install Quarto in your GitHub Actions if a .qmd file is present in your repository (see the `install-quarto` parameter for more details). +The `setup-r-dependencies` action will [automatically](https://github.com/r-lib/actions/tree/v2-branch/setup-r-dependencies#usage) install Quarto in your GitHub Actions if a .qmd file is present in your repository (see the `install-quarto` parameter for more details). ## Limitations @@ -41,7 +41,7 @@ The `setup-r-dependencies` action will [automatically](https://github.com/r-lib/ ## Supported features -The following sections demonstrate a bunch of useful quarto features so that we can make sure that they work. +The following sections demonstrate a bunch of useful quarto features so that we can make sure that they work. ### Inline formatting @@ -76,7 +76,7 @@ $$ \frac{\partial \mathrm C}{ \partial \mathrm t } + \frac{1}{2}\sigma^{2} \mathrm S^{2} \frac{\partial^{2} \mathrm C}{\partial \mathrm C^2} + \mathrm r \mathrm S \frac{\partial \mathrm C}{\partial \mathrm S}\ = - \mathrm r \mathrm C + \mathrm r \mathrm C $$ {#eq-black-scholes} @@ -97,3 +97,13 @@ Black-Scholes (@eq-black-scholes) is a mathematical model that seeks to explain * [x] Cross-references * [x] Footnotes * [x] Callouts + +## Regression tests + +This is a regression test for quarto build errors on GHA. See https://github.com/r-lib/pkgdown/issues/2830 and related issues. + +```{r} +library(pkgdown) +packageVersion("pkgdown") +packageVersion("quarto") +```