diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index c984aa4..aabc660 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -42,6 +42,14 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: rcmdcheck + + - name: Set CRAN mirror + run: echo "options(repos = c(CRAN='https://cloud.r-project.org/'))" > ~/.Rprofile + + - name: Install lme4 from source to fix Matrix errors + run: | + install.packages('lme4', type = 'source') + shell: Rscript {0} - uses: r-lib/actions/check-r-package@v2