mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 07:26:12 +01:00
unit tests
This commit is contained in:
parent
86e28bafce
commit
cf16bc7de1
@ -1,5 +1,5 @@
|
||||
Package: AMR
|
||||
Version: 1.8.2.9084
|
||||
Version: 1.8.2.9085
|
||||
Date: 2023-01-06
|
||||
Title: Antimicrobial Resistance Data Analysis
|
||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
||||
# AMR 1.8.2.9084
|
||||
# AMR 1.8.2.9085
|
||||
|
||||
*(this beta version will eventually become v2.0! We're happy to reach a new major milestone soon!)*
|
||||
|
||||
|
@ -102,7 +102,7 @@ expect_equal(names(mo_info("Escherichia coli")), c(
|
||||
))
|
||||
expect_inherits(mo_info(c("Escherichia coli", "Staphylococcus aureus")), "list")
|
||||
|
||||
expect_equal(as.character(table(mo_pathogenicity(example_isolates$mo)))
|
||||
expect_equal(as.character(table(mo_pathogenicity(example_isolates$mo))),
|
||||
c("1561", "422", "1", "16"))
|
||||
|
||||
expect_equal(mo_ref("Escherichia coli"), "Castellani et al., 1919")
|
||||
|
Loading…
Reference in New Issue
Block a user