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
830c67f1bf
commit
7b00b4f34a
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 1.8.2.9100
|
Version: 1.8.2.9101
|
||||||
Date: 2023-01-24
|
Date: 2023-01-24
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
|||||||
# AMR 1.8.2.9100
|
# AMR 1.8.2.9101
|
||||||
|
|
||||||
*(this beta version will eventually become v2.0! We're happy to reach a new major milestone soon!)*
|
*(this beta version will eventually become v2.0! We're happy to reach a new major milestone soon!)*
|
||||||
|
|
||||||
|
@ -144,6 +144,7 @@ globalVariables(c(
|
|||||||
"pattern",
|
"pattern",
|
||||||
"R",
|
"R",
|
||||||
"rank_index",
|
"rank_index",
|
||||||
|
"ref_tbl",
|
||||||
"reference.rule",
|
"reference.rule",
|
||||||
"reference.rule_group",
|
"reference.rule_group",
|
||||||
"reference.version",
|
"reference.version",
|
||||||
|
BIN
R/sysdata.rda
BIN
R/sysdata.rda
Binary file not shown.
@ -48,8 +48,8 @@ expect_identical(suppressWarnings(suppressMessages(as.rsi(data.frame(CIP = mic,
|
|||||||
expect_identical(suppressWarnings(n_rsi(example_isolates$CIP)),
|
expect_identical(suppressWarnings(n_rsi(example_isolates$CIP)),
|
||||||
suppressWarnings(n_sir(example_isolates$CIP)))
|
suppressWarnings(n_sir(example_isolates$CIP)))
|
||||||
|
|
||||||
expect_identical(suppressWarnings(rsi_df(example_isolates$CIP)),
|
expect_identical(suppressWarnings(rsi_df(example_isolates)),
|
||||||
suppressWarnings(sir_df(example_isolates$CIP)))
|
suppressWarnings(sir_df(example_isolates)))
|
||||||
|
|
||||||
expect_identical(suppressWarnings(is.rsi.eligible(example_isolates)),
|
expect_identical(suppressWarnings(is.rsi.eligible(example_isolates)),
|
||||||
suppressWarnings(is_sir_eligible(example_isolates)))
|
suppressWarnings(is_sir_eligible(example_isolates)))
|
||||||
|
Loading…
Reference in New Issue
Block a user