(v3.0.1.9063) fix old R version

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2026-06-24 10:22:56 +02:00
1 parent ab38fb911d
commit c7b17e5833
3 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
Package: AMR Package: AMR
Version: 3.0.1.9062 Version: 3.0.1.9063
Date: 2026-06-24 Date: 2026-06-24
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)
+1 -1
View File
@@ -1,4 +1,4 @@
# AMR 3.0.1.9062 # AMR 3.0.1.9063
Planned as v3.1.0, end of June 2026. Planned as v3.1.0, end of June 2026.
+4 -1
View File
@@ -71,7 +71,10 @@ if (identical(Sys.getenv("R_RUN_TINYTEST"), "true")) {
if (getRversion() < "4.0.0") { if (getRversion() < "4.0.0") {
deparse1 <- AMR:::deparse1 deparse1 <- AMR:::deparse1
} }
if (getRversion() < "4.4.0") {
`%||%` <- AMR:::`%||%`
}
suppressMessages( suppressMessages(
out <- test_package("AMR", out <- test_package("AMR",
testdir = ifelse(dir.exists("inst/testthat"), testdir = ifelse(dir.exists("inst/testthat"),