1
0
mirror of https://github.com/msberends/AMR.git synced 2026-05-31 23:41:42 +02:00
This commit is contained in:
2026-05-01 19:05:14 +02:00
parent b6d80f9578
commit d805fece8c
4 changed files with 18 additions and 21 deletions

View File

@@ -32,4 +32,11 @@ test_that("test-_deprecated.R", {
expect_warning(example_isolates[, ab_class("mycobact")])
expect_warning(example_isolates[, ab_selector(name %like% "trim")])
# deprecated custom_interpretive_rules() still works and emits a warning
expect_warning(
x_old <- custom_eucast_rules(AMC == "R" ~ aminopenicillins == "R"),
regexp = "custom_eucast_rules"
)
expect_inherits(x_old, "custom_interpretive_rules")
})