mirror of
https://github.com/msberends/AMR.git
synced 2026-11-28 21:26:15 +01:00
(v3.1.0.9031) Let pak also ignore recipes on R versions older than 4.2, since it requires ggplot2 through ipred and prodlim, which requires S7
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
96511f756e
commit
c7f885d5e4
3 files changed
+4
-3
No files matched your search
@@ -99,12 +99,13 @@ jobs:
|
||||
- uses: r-lib/actions/setup-r-dependencies@v2
|
||||
with:
|
||||
# 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.
|
||||
# ggplot2 (>= 4.0.0) imports S7, which requires R >= 4.2.0, and tidymodels requires that ggplot2 version, so both are ignored on R 4.1 (oldrel-5). The unit tests that need them are skipped by AMR:::pkg_is_available(), their examples by require("ggplot2"), and their vignettes are not built (see check-r-package below).
|
||||
# ggplot2 (>= 4.0.0) imports S7, which requires R >= 4.2.0, so ggplot2 is ignored on R 4.1 (oldrel-5), and with it the only two suggested packages that need it to install: tidymodels (which imports ggplot2 directly) and recipes (via ipred and prodlim). The unit tests that need them are skipped by AMR:::pkg_is_available(), their examples by require("ggplot2") and require("tidymodels"), and their vignettes are not built (see check-r-package below).
|
||||
extra-packages: >-
|
||||
${{ matrix.config.tests && 'any::pkgload' || 'any::rcmdcheck' }}
|
||||
readxl=?ignore-before-r=4.2.0
|
||||
ggplot2=?ignore-before-r=4.2.0
|
||||
tidymodels=?ignore-before-r=4.2.0
|
||||
recipes=?ignore-before-r=4.2.0
|
||||
needs: check
|
||||
upgrade: 'TRUE'
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
Package: AMR
|
||||
Version: 3.1.0.9030
|
||||
Version: 3.1.0.9031
|
||||
Date: 2026-11-22
|
||||
Title: Antimicrobial Resistance Data Analysis
|
||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||
|
||||
Reference in new issue
Block a user