Skip to content

Commit

Permalink
ci: install lme4 in binary mode
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 5, 2023
1 parent e10a71a commit bade41d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ jobs:
# prerequisites
python -m pip install --upgrade pip wheel
python -m pip install coverage flake8 pytest
- name: install R
if: matrix.extras == 'all'
uses: r-lib/actions/setup-r@v2
with:
r-version: '3.6.3'
- name: Downgrade rpy2 (Windows)
if: runner.os == 'Windows' && matrix.extras == 'all'
run: |
# Force installation of rpy2 3.5.12
# https://github.com/rpy2/rpy2/issues/1044
python -m pip install rpy2==3.5.12
- name: install R
if: matrix.extras == 'all'
uses: r-lib/actions/setup-r@v2
with:
r-version: '3.6.3'
- name: install lme4
if: matrix.extras == 'all'
- name: install lme4 (Windows)
if: runner.os == 'Windows'
shell: bash
run: |
R -e "install.packages('lme4', repos='http://cran.rstudio.org')"
R -e "install.packages('lme4', repos='http://cran.rstudio.org', type='binary')"
- name: Install dclab with all possible dependencies
if: matrix.extras == 'all'
run: |
Expand Down
2 changes: 1 addition & 1 deletion dclab/lme4/rsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def import_lme4():
"The R package 'lme4' is not installed, please install it via "
+ "`dclab.lme4.rsetup.install_lme4()` or by executing "
+ "in a shell: R -e " + '"install.packages(' + "'lme4', "
+ "repos='http://cran.r-project.org')" + '"')
+ "repos='http://cran.rstudio.org')" + '"')
return lme4pkg


Expand Down

0 comments on commit bade41d

Please sign in to comment.