Skip to content
Open
Show file tree
Hide file tree
Changes from 15 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
5 changes: 4 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
extra-packages: any::rcmdcheck, quarto=quarto-dev/quarto-r@libpaths
Comment thread
jayhesselberth marked this conversation as resolved.
Outdated
needs: check
quarto-version: 1.8.15

- uses: r-lib/actions/check-r-package@v2
env:
QUARTO_R_QUIET: FALSE
Comment thread
jayhesselberth marked this conversation as resolved.
Outdated
Comment thread
jayhesselberth marked this conversation as resolved.
Outdated
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ Config/testthat/start-first: build-article, build-quarto-article, build-referenc
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
SystemRequirements: pandoc
Remotes: quarto-dev/quarto-r@libpaths
RoxygenNote: 7.3.2
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/build-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
Code
cat(examples)
Output
#> [1] 0.080750138 0.834333037 0.600760886 0.157208442 0.007399441
#> [1] 0.600760886 0.157208442 0.007399441 0.466393497 0.497777389

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")
```
Loading