1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 07:26:12 +01:00

unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends 2023-01-24 14:52:15 +01:00
parent 830c67f1bf
commit 7b00b4f34a
5 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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!)*

View File

@ -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",

Binary file not shown.

View File

@ -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)))