Skip to content

Commit

Permalink
Use most recent version of piar in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marberts committed Sep 14, 2023
1 parent 7fa2014 commit c396007
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@ jobs:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
extra-repositories: 'https://marberts.r-universe.dev'

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck, any::piar
extra-packages: any::rcmdcheck
needs: check

- name: install piar
- run: pak::pkg_install("marberts/piar")
- shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
with:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
extra-repositories: 'https://marberts.r-universe.dev'

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::., piar
extra-packages: any::pkgdown, local::.
needs: website

- name: install piar
- run: pak::pkg_install("marberts/piar")
- shell: Rscript {0}

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
Expand Down

0 comments on commit c396007

Please sign in to comment.