mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 05:00:50 +01:00
(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:
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
|
- uses: r-lib/actions/setup-r-dependencies@v2
|
||||||
with:
|
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
|
needs: check
|
||||||
upgrade: 'TRUE'
|
upgrade: 'TRUE'
|
||||||
|
|
||||||
@@ -120,6 +121,9 @@ jobs:
|
|||||||
|
|
||||||
- uses: r-lib/actions/check-r-package@v2
|
- uses: r-lib/actions/check-r-package@v2
|
||||||
if: ${{ !matrix.config.tests }}
|
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:
|
with:
|
||||||
upload-snapshots: true
|
upload-snapshots: true
|
||||||
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
|
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 3.1.0.9004
|
Version: 3.1.0.9005
|
||||||
Date: 2026-10-17
|
Date: 2026-10-23
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
data analysis and to work with microbial and antimicrobial properties by
|
data analysis and to work with microbial and antimicrobial properties by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# AMR 3.1.0.9004
|
# AMR 3.1.0.9005
|
||||||
|
|
||||||
### Other
|
### Other
|
||||||
* The manual index on the website was rewritten to improve findability, with sections ordered by task and a filter field
|
* The manual index on the website was rewritten to improve findability, with sections ordered by task and a filter field
|
||||||
|
|||||||
Reference in new issue
Block a user