diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 3eb6761..2bf7347 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -73,10 +73,10 @@ jobs: do eval sudo $cmd done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))') - - - name: Install libcurl for R devel - if: (runner.os == 'Linux') && (runner.r == 'devel') - run: sudo apt-get install libcurl4-openssl-dev + while read -r cmd + do + eval sudo $cmd + done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04", package = "rcmdcheck"))') - name: Install dependencies run: |