Skip to content

Commit

Permalink
Update R-CMD-check.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlicenJoyHenning committed Aug 13, 2024
1 parent 0b4f6fd commit 0b34d92
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
branches: [main, master]

name: R-CMD-check.yaml

permissions: read-all

jobs:
Expand Down Expand Up @@ -37,13 +39,10 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Install CRAN dependencies
run: |
R -e "install.packages('devtools', repos='https://cloud.r-project.org')"
- name: Install GitHub dependencies
run: |
R -e "devtools::install_deps(dependencies = TRUE)"
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
Expand Down

0 comments on commit 0b34d92

Please sign in to comment.