1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 21:22:01 +02:00

fix documentation

This commit is contained in:
2022-10-06 11:33:30 +02:00
parent 0d8b098220
commit b9342d103e
8 changed files with 64 additions and 67 deletions

View File

@ -84,18 +84,20 @@ expect_equal(as.character(as.mo(c("Gram negative", "Gram positive"))), c("B_GRAM
expect_identical(
suppressWarnings(as.character(
as.mo(c(
"stau",
"stau", # WHONET code
"STAU",
"staaur",
"S. aureus",
"S aureus",
"Sthafilokkockus aureus",
"Staphylococcus aureus",
"MRSA",
"VISA"
), minimum_matching_score = 0)
"Sthafilokkockus aureus", # handles incorrect spelling
"Staphylococcus aureus (MRSA)",
"MRSA", # Methicillin Resistant S. aureus
"VISA", # Vancomycin Intermediate S. aureus
"VRSA", # Vancomycin Resistant S. aureus
115329001 # SNOMED CT code
))
)),
rep("B_STPHY_AURS", 9)
rep("B_STPHY_AURS", 11)
)
expect_identical(
as.character(