Skip to content

Commit

Permalink
Update GitHub Actions to install Matrix and irlba from source
Browse files Browse the repository at this point in the history
  • Loading branch information
igordot committed Nov 28, 2023
1 parent cc590d3 commit 1df8bc7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

# changes in Matrix 1.6-2 break irlba, install both from source
# https://github.com/bwlewis/irlba/issues/70
- name: Install specific R dependencies
run: |
install.packages("Matrix", type = "source")
install.packages("irlba", type = "source")
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
with:
use-public-rspm: true

# changes in Matrix 1.6-2 break irlba, install both from source
# https://github.com/bwlewis/irlba/issues/70
- name: Install specific R dependencies
run: |
install.packages("Matrix", type = "source")
install.packages("irlba", type = "source")
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
Expand Down

0 comments on commit 1df8bc7

Please sign in to comment.