Skip to content

Commit

Permalink
ci: add step to fix lme4 + Matrix incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
adamblake committed Feb 5, 2024
1 parent f65a39a commit 106824e
Showing 1 changed file with 8 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 @@ -54,6 +54,14 @@ jobs:
extra-packages: any::rcmdcheck
needs: check

# https://stackoverflow.com/a/77532685
- name: Fix Matrix + lme4 binary stack
run: |
Rscript \
-e 'options(repos = "https://cran.r-project.org/")' \
-e 'install.packages("Matrix")' \
-e 'install.packages("lme4")'
# https://github.com/r-lib/actions/tree/v2/check-r-package
- uses: r-lib/actions/check-r-package@v2
with:
Expand Down

0 comments on commit 106824e

Please sign in to comment.