Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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")'
20 changes: 15 additions & 5 deletions vignettes/quarto.qmd
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: quarto vignettes
description: >
description: >
Learn how quarto vignettes work with pkgdown, including currently supported
features and known limitations.
vignette: >
%\VignetteIndexEntry{quarto vignettes}
%\VignetteEngine{quarto::html}
%\VignetteEncoding{UTF-8}
knitr:
opts_chunk:
opts_chunk:
collapse: true
comment: '#>'
---
Expand All @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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}


Expand All @@ -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")
```