mirror of
https://github.com/msberends/AMR.git
synced 2026-01-11 19:14:39 +01:00
(v3.0.1.9016) fix unit test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 3.0.1.9015
|
Version: 3.0.1.9016
|
||||||
Date: 2026-01-08
|
Date: 2026-01-08
|
||||||
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 3.0.1.9015
|
# AMR 3.0.1.9016
|
||||||
|
|
||||||
### New
|
### New
|
||||||
* Integration with the **tidymodels** framework to allow seamless use of SIR, MIC and disk data in modelling pipelines via `recipes`
|
* Integration with the **tidymodels** framework to allow seamless use of SIR, MIC and disk data in modelling pipelines via `recipes`
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ test_that("test-ab_property.R", {
|
|||||||
expect_inherits(ab_tradenames("AMX"), "character")
|
expect_inherits(ab_tradenames("AMX"), "character")
|
||||||
expect_inherits(ab_tradenames(c("AMX", "AMX")), "list")
|
expect_inherits(ab_tradenames(c("AMX", "AMX")), "list")
|
||||||
|
|
||||||
expect_identical(ab_group("AMX", language = NULL), "Beta-lactams/penicillins")
|
expect_identical(ab_group("AMX", language = NULL), "Aminopenicillins")
|
||||||
expect_identical(ab_atc_group1("AMX", language = NULL), "Beta-lactam antibacterials, penicillins")
|
expect_identical(ab_atc_group1("AMX", language = NULL), "Beta-lactam antibacterials, penicillins")
|
||||||
expect_identical(ab_atc_group2("AMX", language = NULL), "Penicillins with extended spectrum")
|
expect_identical(ab_atc_group2("AMX", language = NULL), "Penicillins with extended spectrum")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user