Created
May 12, 2026 08:21
-
-
Save munoztd0/23c12bdddf0e1c56f49b2e38bc962ffe to your computer and use it in GitHub Desktop.
to create actual snapshot for snapshot_download_gh()
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
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - ready_for_review | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| name: R-CMD-check | |
| jobs: | |
| R-CMD-check: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| R_KEEP_PKG_SOURCE: yes | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup R | |
| uses: r-lib/actions/setup-r@v2 | |
| with: | |
| use-public-rspm: true | |
| - name: Setup dependencies | |
| uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| extra-packages: any::rcmdcheck | |
| needs: check | |
| - name: Run R CMD check | |
| uses: r-lib/actions/check-r-package@v2 | |
| with: | |
| args: 'c("--as-cran")' | |
| error-on: '"warning"' | |
| upload-snapshots: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment