Make sure extract_stats()
and cousins work out of the box with grouped plots
#294
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run vignettes with `options(warn = 2)` to fail on warnings | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
name: check-vignette-warnings | |
jobs: | |
check-vignette-warnings: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: r-lib/actions/setup-pandoc@v2 | |
with: | |
pandoc-version: "latest" | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: "devel" | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
pak-version: devel | |
upgrade: 'TRUE' | |
extra-packages: | | |
local::. | |
needs: check | |
- name: Build vignettes | |
run: | | |
options(crayon.enabled = TRUE, warn = 2L) | |
vignettes <- fs::dir_ls("vignettes/", glob = "*.Rmd", recurse = TRUE) | |
purrr::walk(vignettes, rmarkdown::render) | |
shell: Rscript {0} |