(v0.9.0.9029) add uti to as.rsi()

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-02-20 13:19:23 +01:00
1 parent a5db82c2fb
commit c6184a0fb8
71 files changed
+1129 -800

No files matched your search

+13
View File
@@ -81,6 +81,19 @@ test_that("mic2rsi works", {
as.rsi() %>%
pull(amox_mic) %>%
is.rsi())
expect_warning(data.frame(mo = "E. coli",
NIT = c("<= 2", 32)) %>%
as.rsi())
expect_message(data.frame(mo = "E. coli",
NIT = c("<= 2", 32),
uti = TRUE) %>%
as.rsi())
expect_message(
data.frame(mo = "E. coli",
NIT = c("<= 2", 32),
specimen = c("urine", "blood")) %>%
as.rsi())
})
test_that("disk2rsi works", {