(v1.4.0.9015) bugfix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-11-10 16:35:56 +01:00
1 parent dd5a0319ef
commit 15c732703d
35 files changed
+224 -161

No files matched your search

+3 -3
View File
@@ -90,12 +90,12 @@ test_that("EUCAST rules work", {
"R")
# Azithromycin and Clarythromycin must be equal to Erythromycin
a <- eucast_rules(data.frame(mo = example_isolates$mo,
a <- as.rsi(eucast_rules(data.frame(mo = example_isolates$mo,
ERY = example_isolates$ERY,
AZM = as.rsi("R"),
CLR = as.rsi("R"),
CLR = factor("R"),
stringsAsFactors = FALSE),
version_expertrules = 3.1)$CLR
version_expertrules = 3.1)$CLR)
b <- example_isolates$ERY
expect_identical(a[!is.na(b)],
b[!is.na(b)])