New CRAN release #369
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
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | |
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
# | |
# NOTE: The {pkgdown} workflow in "noSuggests" mode makes sure that the vignettes or | |
# examples evaluated only on the website are also using soft dependencies conditionally. | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
name: pkgdown-no-suggests | |
jobs: | |
pkgdown-no-suggests: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
R_KEEP_PKG_SOURCE: yes | |
steps: | |
- uses: actions/checkout@v4 | |
# Always try to use the latest pandoc version | |
# https://github.com/jgm/pandoc/releases | |
- uses: r-lib/actions/setup-pandoc@v2 | |
with: | |
pandoc-version: "2.19.2" | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: "release" | |
http-user-agent: "release" | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
pak-version: devel | |
dependencies: '"hard"' | |
cache: false | |
extra-packages: | | |
any::knitr | |
any::rmarkdown | |
any::correlation | |
r-lib/pkgdown | |
local::. | |
needs: website | |
- name: Build site | |
run: | | |
options(crayon.enabled = TRUE) | |
pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) | |
shell: Rscript {0} |