From 8f6321e8feb3fbad1df28c041c7e0dda808b2e1d Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Sat, 18 May 2024 21:43:56 -0700 Subject: [PATCH] More fixes to occasional CI (#6142) * More fixes to occasional CI * update cron * More sys dependencies for sf * copy installation step from 'sf' GHA to install gdal there * remove 13-line R CMD check error limit --- .github/workflows/R-CMD-check-occasional.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/R-CMD-check-occasional.yaml b/.github/workflows/R-CMD-check-occasional.yaml index 3e886c0ab2..86317ad435 100644 --- a/.github/workflows/R-CMD-check-occasional.yaml +++ b/.github/workflows/R-CMD-check-occasional.yaml @@ -1,6 +1,6 @@ on: schedule: - - cron: '17 13 18 * *' # 18th of month at 13:17 UTC + - cron: '17 13 19 * *' # 18th of month at 13:17 UTC # A more complete suite of checks to run monthly; each PR/merge need not pass all these, but they should pass before CRAN release name: R-CMD-check-occasional @@ -75,11 +75,15 @@ jobs: with: r-version: ${{ matrix.r }} - - name: Install check dependencies - if: matrix.os != 'windows-latest' && matrix.os != 'macOS-latest' + - name: Install check dependencies (Ubuntu) + if: matrix.os == 'ubuntu-latest' run: | sudo apt-get update - sudo apt-get install -y libcurl4-openssl-dev libudunits2-dev + sudo apt-get install -y libcurl4-openssl-dev libudunits2-dev libgdal-dev libgeos-dev libproj-dev + + - name: Install check dependencies (macOS) + if: matrix.os == 'macOS-latest' + run: brew install gdal proj - name: Query dependencies run: | @@ -115,7 +119,10 @@ jobs: - name: Check env: + # several Suggests dependencies have R dependencies more recent than ours + _R_CHECK_FORCE_SUGGESTS_: false _R_CHECK_CRAN_INCOMING_REMOTE_: false + _R_CHECK_TESTS_NLINES_: 0 run: | options(crayon.enabled = TRUE)