From 7fabbea250998c068a9522c31a9f46c6c76595ae Mon Sep 17 00:00:00 2001 From: Federico Marini Date: Thu, 12 Sep 2024 02:14:35 +0200 Subject: [PATCH] trying to fix GHAs on linux --- .github/workflows/R-CMD-check.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 5e619c4..fd121bc 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -68,12 +68,11 @@ jobs: if: runner.os == 'Linux' env: RHUB_PLATFORM: linux-x86_64-ubuntu-gcc - run: | - Rscript -e "remotes::install_github('r-hub/sysreqs')" - sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))") - sudo -s eval "$sysreqs" - sudo apt-get update && sudo apt-get -y install libcurl4-openssl-dev libglpk-dev libharfbuzz-dev libfribidi-dev - + uses: r-lib/actions/setup-r-dependencies@v2 + with: + extra-packages: any::rcmdcheck + pak-version: devel + - name: Install system dependencies (macOS) if: runner.os == 'macOS' run: |