diff --git a/DESCRIPTION b/DESCRIPTION index 757a31faa..611efe354 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 3.0.1.9116 +Version: 3.0.1.9117 Date: 2026-10-11 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index 5d1ac40be..987de529c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 3.0.1.9116 +# AMR 3.0.1.9117 Planned as v3.1.0, mid October 2026. diff --git a/tests/testthat/test-zzz.R b/tests/testthat/test-zzz.R index e684b0ebe..82f57d6bd 100644 --- a/tests/testthat/test-zzz.R +++ b/tests/testthat/test-zzz.R @@ -224,7 +224,7 @@ test_that("test-zzz.R", { test_that("test-zzz.R: no installation-time dependency on suggested packages", { skip_on_cran() # code outside functions runs when the package is installed, not when it is loaded: anything it takes from a suggested package is then decided by the machine that built the package (e.g., the CRAN binary builders, which have all suggested packages), and fails for users who do not have that package, see .onLoad() in R/zzz.R - r_dir <- file.path(testthat::test_path(), "..", "..", "R") + r_dir <- file.path("..", "..", "R") skip_if(!dir.exists(r_dir), "R source files not available") suggests <- trimws(gsub("[(].*", "", strsplit(read.dcf(file.path(r_dir, "..", "DESCRIPTION"), fields = "Suggests")[1, 1], ",")[[1]])) runtime_calls <- c("import_fn", "requireNamespace", "loadNamespace", "pkg_is_available", "l10n_info", "require", "library")