(v3.0.1.9135) Fix get_mo_source() removing the mo_source file at the default location, returning the wrong mo_source, and throwing an error after the original file was moved, and run the unit tests in CI also in a real interactive session and with a user setup, a Dutch locale, and CLSI as default guideline, with tests that no longer assume an English locale or EUCAST

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2026-10-14 23:34:45 +02:00
1 parent 4be7352843
commit 8b01bcb23c
16 files changed
+360 -38

No files matched your search

+3
View File
@@ -29,6 +29,9 @@
test_that("test-interpretive_rules.R", {
skip_on_cran()
# these tests are based on EUCAST rules, which must also hold when another guideline is set with the AMR_guideline option
old_opts <- options(AMR_guideline = "EUCAST")
on.exit(options(old_opts), add = TRUE)
# thoroughly check input table
expect_equal(