From 2476943c39936e47a0bc130c0f7d531500ce6dee Mon Sep 17 00:00:00 2001 From: David Blodgett Date: Wed, 5 Apr 2023 21:32:15 -0500 Subject: [PATCH 1/3] Update R-CMD-check.yml pin actions --- .github/workflows/R-CMD-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yml b/.github/workflows/R-CMD-check.yml index 4fc2cd4..cacd103 100644 --- a/.github/workflows/R-CMD-check.yml +++ b/.github/workflows/R-CMD-check.yml @@ -68,7 +68,7 @@ jobs: - name: Upload check results if: failure() - uses: actions/upload-artifact@master + uses: actions/upload-artifact@v3 with: name: results path: check From 137b0f6787ad224bc3358bc6a3e3523b5fdbd4af Mon Sep 17 00:00:00 2001 From: David Blodgett Date: Thu, 6 Apr 2023 10:11:05 -0500 Subject: [PATCH 2/3] ubuntu 20.04 action --- .github/workflows/R-CMD-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yml b/.github/workflows/R-CMD-check.yml index cacd103..4d34dbf 100644 --- a/.github/workflows/R-CMD-check.yml +++ b/.github/workflows/R-CMD-check.yml @@ -10,7 +10,7 @@ name: R-CMD-check jobs: R-CMD-check: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 env: R_REMOTES_NO_ERRORS_FROM_WARNINGS: true GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} From 9b5fb047222132cc0a61c40a69b0c8677d645c23 Mon Sep 17 00:00:00 2001 From: David Blodgett Date: Thu, 6 Apr 2023 10:45:10 -0500 Subject: [PATCH 3/3] simplify dependency install --- .github/workflows/R-CMD-check.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/R-CMD-check.yml b/.github/workflows/R-CMD-check.yml index 4d34dbf..cf45503 100644 --- a/.github/workflows/R-CMD-check.yml +++ b/.github/workflows/R-CMD-check.yml @@ -44,16 +44,6 @@ jobs: sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))") sudo -s eval "$sysreqs" - # install spatial dependencies - sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable - sudo apt update - sudo apt install \ - libudunits2-dev \ - libgdal-dev \ - libgeos-dev \ - libproj-dev - - - name: Install dependencies run: | install.packages(c("remotes"))