1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-26 04:46:11 +01:00
This commit is contained in:
dr. M.S. (Matthijs) Berends 2021-05-25 10:00:11 +02:00
parent d0f38a03d5
commit 55457d0ab6

View File

@ -45,7 +45,7 @@ expect_equal(summary(as.rsi(c("S", "R"))),
"- %S" = "50.0% (n=1)", "- %S" = "50.0% (n=1)",
"- %I" = " 0.0% (n=0)"), class = c("summaryDefault", "table"))) "- %I" = " 0.0% (n=0)"), class = c("summaryDefault", "table")))
expect_identical(as.logical(lapply(example_isolates, is.rsi.eligible)), expect_identical(as.logical(lapply(example_isolates, is.rsi.eligible)),
rep(FALSE, length(example_isolates))) as.logical(lapply(example_isolates, is.rsi)))
expect_error(as.rsi.mic(as.mic(16))) expect_error(as.rsi.mic(as.mic(16)))
expect_error(as.rsi.disk(as.disk(16))) expect_error(as.rsi.disk(as.disk(16)))
expect_error(get_guideline("this one does not exist")) expect_error(get_guideline("this one does not exist"))