feat: add in_pkgdown_pkg() and IN_PKGDOWN_PKG
#1765
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| name: no-pandoc | |
| jobs: | |
| R-CMD-check: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| R_KEEP_PKG_SOURCE: yes | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: r-lib/actions/setup-r@v2 | |
| with: | |
| use-public-rspm: true | |
| - uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| extra-packages: any::rcmdcheck | |
| needs: check | |
| - uses: r-lib/actions/setup-tinytex@v2 | |
| env: | |
| TINYTEX_INSTALLER: TinyTeX | |
| - run: sudo apt-get --purge remove pandoc | |
| - run: rm -rf vignettes | |
| - uses: r-lib/actions/check-r-package@v2 | |
| env: | |
| R_QUARTO_QUIET: false |