Skip to content

Commit

Permalink
Update R-CMD-check.yml
Browse files Browse the repository at this point in the history
- use devel reticulate for dpkg regex fix for python3-venv
  • Loading branch information
brownag authored Nov 20, 2023
1 parent 982de28 commit db9f23b
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/R-CMD-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@ jobs:
brew install pkg-config
brew install gdal
- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt install python3-venv
python3 -m pip install virtualenv
python3 -m venv "r-reticulate"
source "r-reticulate/bin/activate"
echo "VIRTUAL ENV:" $VIRTUAL_ENV
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
Expand All @@ -70,7 +61,9 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
extra-packages: |
rstudio/reticulate
any::rcmdcheck
needs: check

- name: Install Python dependencies
Expand Down

0 comments on commit db9f23b

Please sign in to comment.