(v3.1.0.9005) Fix the CI check on R-oldrel-5 by letting pak ignore readxl on R versions older than 4.2, and by not forcing suggested packages in R CMD check

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2026-10-23 14:15:49 +02:00
1 parent 5fc152ae94
commit 4e806b3d40
3 files changed
+8 -4

No files matched your search

@@ -97,7 +97,8 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: ${{ matrix.config.tests && 'any::pkgload' || 'any::rcmdcheck' }}
# pak solves all suggested packages as one set and fails as a whole if one of them requires a newer R, so such packages are ignored on older R versions (with `pkg=?ignore-before-r=x.y.z`) and the checks run without them
extra-packages: ${{ matrix.config.tests && 'any::pkgload' || 'any::rcmdcheck' }} readxl=?ignore-before-r=4.2.0
needs: check
upgrade: 'TRUE'
@@ -120,6 +121,9 @@ jobs:
- uses: r-lib/actions/check-r-package@v2
if: ${{ !matrix.config.tests }}
env:
# suggested packages ignored on older R versions (see above) must not fail the check
_R_CHECK_FORCE_SUGGESTS_: false
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
+2 -2
View File
@@ -1,6 +1,6 @@
Package: AMR
Version: 3.1.0.9004
Date: 2026-10-17
Version: 3.1.0.9005
Date: 2026-10-23
Title: Antimicrobial Resistance Data Analysis
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
data analysis and to work with microbial and antimicrobial properties by
+1 -1
View File
@@ -1,4 +1,4 @@
# AMR 3.1.0.9004
# AMR 3.1.0.9005
### Other
* The manual index on the website was rewritten to improve findability, with sections ordered by task and a filter field