From 27c98c34970b130c70157c14310d936eb0cb0de8 Mon Sep 17 00:00:00 2001 From: "Jennifer (Jenny) Bryan" Date: Thu, 7 Mar 2024 03:54:17 +0000 Subject: [PATCH] Don't try to install magick on R 3.6 (#1960) The newest magick can't be installed for R 3.6. Following advice given here: https://github.com/r-lib/actions/tree/v2/setup-r-dependencies#ignoring-optional-dependencies-that-need-a-newer-r-version --- .github/workflows/R-CMD-check.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index a1e8e305e..c7fe02479 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -54,7 +54,7 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::rcmdcheck + extra-packages: any::rcmdcheck, magick=?ignore-before-r=4.0.0 needs: check - name: Configure Git User @@ -66,5 +66,6 @@ jobs: - uses: r-lib/actions/check-r-package@v2 env: _R_CALLS_INVALID_NUMERIC_VERSION_: true + _R_CHECK_FORCE_SUGGESTS_: false with: upload-snapshots: true