diff --git a/DESCRIPTION b/DESCRIPTION index 743ec28a..3761533c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 1.7.1.9032 +Version: 1.7.1.9033 Date: 2021-08-30 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index 61be7e96..5fe02526 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# `AMR` 1.7.1.9032 +# `AMR` 1.7.1.9033 ## Last updated: 30 August 2021 ### Breaking changes diff --git a/R/first_isolate.R b/R/first_isolate.R index ca4e6cb7..39440fb6 100755 --- a/R/first_isolate.R +++ b/R/first_isolate.R @@ -25,7 +25,7 @@ #' Determine First Isolates #' -#' Determine first isolates of all microorganisms of every patient per episode and (if needed) per specimen type. These functions support all four methods as summarised by Hindler *et al.* in 2007 (\doi{10.1086/511864}). To determine patient episodes not necessarily based on microorganisms, use [is_new_episode()] that also supports [grouping with the `dplyr` package][dplyr::group_by()] . +#' Determine first isolates of all microorganisms of every patient per episode and (if needed) per specimen type. These functions support all four methods as summarised by Hindler *et al.* in 2007 (\doi{10.1086/511864}). To determine patient episodes not necessarily based on microorganisms, use [is_new_episode()] that also supports grouping with the `dplyr` package. #' @inheritSection lifecycle Stable Lifecycle #' @param x a [data.frame] containing isolates. Can be left blank for automatic determination, see *Examples*. #' @param col_date column name of the result date (or date that is was received on the lab), defaults to the first column with a date class diff --git a/data-raw/AMR_latest.tar.gz b/data-raw/AMR_latest.tar.gz index f734ce90..727d4bf2 100644 Binary files a/data-raw/AMR_latest.tar.gz and b/data-raw/AMR_latest.tar.gz differ diff --git a/data-raw/_install_deps.R b/data-raw/_install_deps.R index 6e9fcc6f..fa57d708 100644 --- a/data-raw/_install_deps.R +++ b/data-raw/_install_deps.R @@ -24,13 +24,13 @@ # ==================================================================== # # some old R instances have trouble installing tinytest, so we ship it too -install.packages("data-raw/tinytest_1.2.4.10.tar.gz", dependencies = c("Depends", "Imports")) +install.packages("data-raw/tinytest_1.3.1.tar.gz", dependencies = c("Depends", "Imports")) install.packages("data-raw/AMR_latest.tar.gz", dependencies = FALSE) pkg_suggests <- gsub("[^a-zA-Z0-9]+", "", unlist(strsplit(unlist(packageDescription("AMR", fields = c("Suggests", "Enhances"))), - ", ?"))) + split = ", ?"))) cat("Packages listed in Suggests/Enhances:", paste(pkg_suggests, collapse = ", "), "\n") to_install <- pkg_suggests[!pkg_suggests %in% rownames(utils::installed.packages())] diff --git a/data-raw/tinytest_1.3.1.tar.gz b/data-raw/tinytest_1.3.1.tar.gz new file mode 100644 index 00000000..e8729b32 Binary files /dev/null and b/data-raw/tinytest_1.3.1.tar.gz differ diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index e7f642ac..fa2c7daf 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -92,7 +92,7 @@
diff --git a/docs/articles/datasets.html b/docs/articles/datasets.html index 69ddc1fa..69d1b88e 100644 --- a/docs/articles/datasets.html +++ b/docs/articles/datasets.html @@ -44,7 +44,7 @@ diff --git a/docs/authors.html b/docs/authors.html index efbc0dd5..c753fc1c 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -92,7 +92,7 @@ @@ -241,7 +241,7 @@Berends MS, Luz CF, Friedrich AW, Sinha BNM, Albers CJ, Glasner C (2021). AMR - An R Package for Working with -Antimicrobial Resistance Data. Journal of Statistical Software (accepted for publication), https://www.biorxiv.org/content/10.1101/810622v4
+Antimicrobial Resistance Data. Journal of Statistical Software (accepted for publication), https://www.biorxiv.org/content/10.1101/810622v4.@Article{, title = {AMR - An R Package for Working with Antimicrobial Resistance Data}, author = {M S Berends and C F Luz and A W Friedrich and B N M Sinha and C J Albers and C Glasner}, @@ -251,6 +251,16 @@ Antimicrobial Resistance Data. Journal of Statistical Software (accepted for pub year = {2021}, url = {https://www.biorxiv.org/content/10.1101/810622v4}, }+
Berends, MS (2021). A New Instrument for Microbial Epidemiology: Empowering Antimicrobial Resistance Data Analysis (PhD thesis). University of Groningen, doi: 10.33612/diss.177417131.
+@PhdThesis{, + title = {A New Instrument for Microbial Epidemiology: Empowering Antimicrobial Resistance Data Analysis}, + author = {M S Berends}, + publisher = {University of Groningen}, + school = {University of Groningen}, + doi = {10.33612/diss.177417131}, + pages = {288}, + year = {2021}, +}
NEWS.md
- AMR
1.7.1.9032AMR
1.7.1.9033Determine first isolates of all microorganisms of every patient per episode and (if needed) per specimen type. These functions support all four methods as summarised by Hindler et al. in 2007 (doi: 10.1086/511864
-). To determine patient episodes not necessarily based on microorganisms, use is_new_episode()
that also supports grouping with the dplyr
package .
is_new_episode()
that also supports grouping with the dplyr
package.
first_isolate(
diff --git a/docs/reference/index.html b/docs/reference/index.html
index 0fb823ab..a46b97f8 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -92,7 +92,7 @@