From db9f23b0f1cbfcc885a404381afde680bb31aa3f Mon Sep 17 00:00:00 2001 From: Andrew Gene Brown Date: Mon, 20 Nov 2023 13:06:07 -0800 Subject: [PATCH] Update R-CMD-check.yml - use devel reticulate for dpkg regex fix for python3-venv --- .github/workflows/R-CMD-check.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/R-CMD-check.yml b/.github/workflows/R-CMD-check.yml index 8f24241..865bcf6 100644 --- a/.github/workflows/R-CMD-check.yml +++ b/.github/workflows/R-CMD-check.yml @@ -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 }} @@ -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