From c7b17e58331b5914a435a6a6d02b0ba2c3fd0303 Mon Sep 17 00:00:00 2001 From: Matthijs Berends Date: Wed, 24 Jun 2026 10:22:56 +0200 Subject: [PATCH] (v3.0.1.9063) fix old R version --- DESCRIPTION | 2 +- NEWS.md | 2 +- tests/tinytest.R.old | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 6b9bb0d04..65a4f6886 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 3.0.1.9062 +Version: 3.0.1.9063 Date: 2026-06-24 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index 864e398d6..4ba27c380 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 3.0.1.9062 +# AMR 3.0.1.9063 Planned as v3.1.0, end of June 2026. diff --git a/tests/tinytest.R.old b/tests/tinytest.R.old index 0de80677b..8b5a57952 100644 --- a/tests/tinytest.R.old +++ b/tests/tinytest.R.old @@ -71,7 +71,10 @@ if (identical(Sys.getenv("R_RUN_TINYTEST"), "true")) { if (getRversion() < "4.0.0") { deparse1 <- AMR:::deparse1 } - + if (getRversion() < "4.4.0") { + `%||%` <- AMR:::`%||%` + } + suppressMessages( out <- test_package("AMR", testdir = ifelse(dir.exists("inst/testthat"),