1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 17:02:03 +02:00

(v0.7.0.9001) new pathovars, small fixes

This commit is contained in:
2019-06-07 22:47:37 +02:00
parent 04c75e8e36
commit f02679fb63
83 changed files with 686 additions and 583 deletions

View File

@ -74,7 +74,7 @@ test_that("as.mo works", {
# prevalent MO
expect_identical(
as.character(
suppressWarnings(as.character(
as.mo(c("stau",
"STAU",
"staaur",
@ -83,12 +83,12 @@ test_that("as.mo works", {
"Sthafilokkockus aureeuzz",
"Staphylococcus aureus",
"MRSA",
"VISA"))),
"VISA")))),
rep("B_STPHY_AUR", 9))
expect_identical(
as.character(
as.mo(c('EHEC', 'EPEC', 'EIEC', 'STEC', 'ATEC'))),
rep("B_ESCHR_COL", 5))
as.mo(c('EHEC', 'EPEC', 'EIEC', 'STEC', 'ATEC', 'UPEC'))),
rep("B_ESCHR_COL", 6))
# unprevalent MO
expect_identical(
as.character(