diff --git a/DESCRIPTION b/DESCRIPTION index b6d62390..406a8dce 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: AMR -Version: 1.7.1.9027 -Date: 2021-08-19 +Version: 1.7.1.9028 +Date: 2021-08-20 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) data analysis and to work with microbial and antimicrobial properties by diff --git a/NEWS.md b/NEWS.md index 7bcd9dce..ce9b1a51 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,5 @@ -# `AMR` 1.7.1.9027 -## Last updated: 19 August 2021 +# `AMR` 1.7.1.9028 +## Last updated: 20 August 2021 ### Breaking changes * Removed `p_symbol()` and all `filter_*()` functions (except for `filter_first_isolate()`), which were all deprecated in a previous package version diff --git a/data-raw/AMR_latest.tar.gz b/data-raw/AMR_latest.tar.gz index 259411d2..9ef76780 100644 Binary files a/data-raw/AMR_latest.tar.gz and b/data-raw/AMR_latest.tar.gz differ diff --git a/docs/articles/datasets.html b/docs/articles/datasets.html index ad9eb491..c2098e31 100644 --- a/docs/articles/datasets.html +++ b/docs/articles/datasets.html @@ -44,7 +44,7 @@ AMR (for R) - 1.7.1.9027 + 1.7.1.9028 @@ -190,7 +190,7 @@ @@ -240,12 +240,12 @@ Source: NEWS.md -
-

- Unreleased AMR 1.7.1.9027

-
+
+

+ Unreleased AMR 1.7.1.9028

+

-Last updated: 19 August 2021 +Last updated: 20 August 2021

diff --git a/inst/tinytest/test-ab_property.R b/inst/tinytest/test-ab_property.R index 6c5cf91d..47ea1b5f 100644 --- a/inst/tinytest/test-ab_property.R +++ b/inst/tinytest/test-ab_property.R @@ -24,7 +24,6 @@ # ==================================================================== # expect_identical(ab_name("AMX", language = NULL), "Amoxicillin") -expect_identical(ab_name("AMX", language = NULL, snake_case = TRUE), "amoxicillin") expect_identical(ab_atc("AMX"), "J01CA04") expect_identical(ab_cid("AMX"), as.integer(33613)) diff --git a/inst/tinytest/test-mo_property.R b/inst/tinytest/test-mo_property.R index 62bd2934..35abe717 100644 --- a/inst/tinytest/test-mo_property.R +++ b/inst/tinytest/test-mo_property.R @@ -121,9 +121,9 @@ expect_equal(mo_name("test", reference_df = data.frame(col1 = "test", mo = "B_ES "Escherichia coli") if (AMR:::pkg_is_available("dplyr")) { expect_equal(example_isolates %>% filter(mo_is_gram_negative()) %>% nrow(), - 730) + 730, tolerance = 0.5) expect_equal(example_isolates %>% filter(mo_is_gram_positive()) %>% nrow(), - 1238) + 1238, tolerance = 0.5) expect_equal(example_isolates %>% filter(mo_is_intrinsic_resistant(ab = "Vancomycin")) %>% nrow(), - 710) + 710, tolerance = 0.5) }