diff --git a/DESCRIPTION b/DESCRIPTION index c830c822..bc1c573c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 1.4.0.9061 +Version: 1.4.0.9062 Date: 2021-01-04 Title: Antimicrobial Resistance Analysis Authors@R: c( diff --git a/NEWS.md b/NEWS.md index ed9fe9a9..e6862e4a 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 1.4.0.9061 +# AMR 1.4.0.9062 ## Last updated: 4 January 2021 ### New * Functions `get_episode()` and `is_new_episode()` to determine (patient) episodes which are not necessarily based on microorganisms. The `get_episode()` function returns the index number of the episode per group, while the `is_new_episode()` function returns values `TRUE`/`FALSE` to indicate whether an item in a vector is the start of a new episode. They also support `dplyr`s grouping (i.e. using `group_by()`): diff --git a/data-raw/AMR_1.4.0.9061.tar.gz b/data-raw/AMR_1.4.0.9062.tar.gz similarity index 83% rename from data-raw/AMR_1.4.0.9061.tar.gz rename to data-raw/AMR_1.4.0.9062.tar.gz index 80d69692..81e8a275 100644 Binary files a/data-raw/AMR_1.4.0.9061.tar.gz and b/data-raw/AMR_1.4.0.9062.tar.gz differ diff --git a/docs/404.html b/docs/404.html index 80acc5ce..5c610abb 100644 --- a/docs/404.html +++ b/docs/404.html @@ -81,7 +81,7 @@ AMR (for R) - 1.4.0.9061 + 1.4.0.9062 diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index f27fe245..2afb34b2 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -81,7 +81,7 @@ AMR (for R) - 1.4.0.9061 + 1.4.0.9062 diff --git a/docs/articles/index.html b/docs/articles/index.html index 52e593b0..4c6f7946 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -81,7 +81,7 @@ AMR (for R) - 1.4.0.9061 + 1.4.0.9062 diff --git a/docs/authors.html b/docs/authors.html index 0673f3fb..7b6ce0a8 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -81,7 +81,7 @@ AMR (for R) - 1.4.0.9061 + 1.4.0.9062 diff --git a/docs/index.html b/docs/index.html index 883c4418..90126aab 100644 --- a/docs/index.html +++ b/docs/index.html @@ -43,7 +43,7 @@ AMR (for R) - 1.4.0.9061 + 1.4.0.9062 @@ -222,9 +222,9 @@ Since you are one of our users, we would like to know how you use the package an library(dplyr) example_isolates %>% - mutate(mo = mo_fullname(mo)) %>% - filter(mo_is_gram_negative(), mo_is_intrinsic_resistant(ab = "cefotax")) %>% - select(mo, aminoglycosides(), carbapenems()) + mutate(mo = mo_fullname(mo)) %>% + filter(mo_is_gram_negative(), mo_is_intrinsic_resistant(ab = "cefotax")) %>% + select(mo, aminoglycosides(), carbapenems()) #> NOTE: Using column 'mo' as input for mo_is_gram_negative() #> NOTE: Using column 'mo' as input for mo_is_intrinsic_resistant() #> NOTE: Determining intrinsic resistance based on 'EUCAST Expert Rules' and @@ -359,7 +359,7 @@ Since you are one of our users, we would like to know how you use the package an

The latest and unpublished development version can be installed from GitHub using:

 install.packages("remotes") 
-remotes::install_github("msberends/AMR")
+remotes::install_github("msberends/AMR")
@@ -420,7 +420,7 @@ Since you are one of our users, we would like to know how you use the package an
  • It analyses the data with convenient functions that use well-known methods.

    diff --git a/docs/news/index.html b/docs/news/index.html index 340ff200..c16a3159 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -81,7 +81,7 @@ AMR (for R) - 1.4.0.9061 + 1.4.0.9062
  • @@ -236,9 +236,9 @@ Source: NEWS.md -
    -

    -AMR 1.4.0.9061 Unreleased +
    +

    +AMR 1.4.0.9062 Unreleased

    @@ -249,13 +249,13 @@ New

  • Functions mo_is_gram_negative() and mo_is_gram_positive() as wrappers around mo_gramstain(). They always return TRUE or FALSE (except when the input is NA or the MO code is UNKNOWN), thus always return FALSE for species outside the taxonomic kingdom of Bacteria.

  • Function mo_is_intrinsic_resistant() to test for intrinsic resistance, based on EUCAST Intrinsic Resistance and Unusual Phenotypes v3.2 from 2020.

  • @@ -280,7 +280,7 @@
  • -

    Some functions are now context-aware when used inside dplyr verbs, such as filter(), mutate() and summarise(). This means that then the data argument does not need to be set anymore. This is the case for the new functions:

    +

    Some functions are now context-aware when used inside dplyr verbs, such as filter(), mutate() and summarise(). This means that then the data argument does not need to be set anymore. This is the case for the new functions:

  • @@ -373,8 +373,8 @@ library(AMR) library(dplyr) intrinsic_resistant %>% - filter(antibiotic == "Vancomycin", microorganism %like% "Enterococcus") %>% - pull(microorganism) + filter(antibiotic == "Vancomycin", microorganism %like% "Enterococcus") %>% + pull(microorganism) #> [1] "Enterococcus casseliflavus" "Enterococcus gallinarum"
  • Support for veterinary ATC codes

  • @@ -390,16 +390,16 @@

    Improvements for as.rsi():