new rsi_interpretation_history

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-09-01 15:20:57 +02:00
1 parent a3b97a10a5
commit 63fe160322
12 files changed
+191 -171

No files matched your search

+4
View File
@@ -123,6 +123,10 @@ expect_equal(
c("S", "S", "I", "R", "R")
)
expect_true(is.data.frame(rsi_interpretation_history(clean = FALSE)))
expect_true(is.data.frame(rsi_interpretation_history(clean = TRUE)))
expect_true(is.null(rsi_interpretation_history()))
# cutoffs at MIC = 8
expect_equal(
as.rsi(as.mic(2), "E. coli", "ampicillin", guideline = "EUCAST 2020"),