diff --git a/DESCRIPTION b/DESCRIPTION index 2bbf0a14..c5ccf815 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 0.7.1.9016 +Version: 0.7.1.9017 Date: 2019-07-29 Title: Antimicrobial Resistance Analysis Authors@R: c( diff --git a/NEWS.md b/NEWS.md index 43191e47..115e8fa4 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 0.7.1.9016 +# AMR 0.7.1.9017 ### Breaking * Function `freq()` has moved to a new package, [`clean`](https://github.com/msberends/clean) ([CRAN link](https://cran.r-project.org/package=clean)). Creating frequency tables is actually not the scope of this package (never was) and this function has matured a lot over the last two years. We decided to create a new package for data cleaning and checking and it perfectly fits the `freq()` function. The [`clean`](https://github.com/msberends/clean) package is available on CRAN and will be installed automatically when updating the `AMR` package, that now imports it. In a later stage, the `skewness()` and `kurtosis()` functions will be moved to the `clean` package too. diff --git a/R/catalogue_of_life.R b/R/catalogue_of_life.R index f1073be8..0ec29f8a 100755 --- a/R/catalogue_of_life.R +++ b/R/catalogue_of_life.R @@ -90,6 +90,7 @@ NULL #' @export #' @examples #' library(dplyr) +#' library(clean) #' microorganisms %>% freq(kingdom) #' microorganisms %>% group_by(kingdom) %>% freq(phylum, nmax = NULL) catalogue_of_life_version <- function() { diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 74bc4851..cbbccb38 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -78,7 +78,7 @@ AMR (for R) - 0.7.1.9016 + 0.7.1.9017 diff --git a/docs/articles/index.html b/docs/articles/index.html index cfaa3525..b2efa0ef 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -78,7 +78,7 @@ AMR (for R) - 0.7.1.9016 + 0.7.1.9017 diff --git a/docs/authors.html b/docs/authors.html index 99804da6..4f73d2cf 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -78,7 +78,7 @@ AMR (for R) - 0.7.1.9016 + 0.7.1.9017 diff --git a/docs/index.html b/docs/index.html index 0626c136..dd20cc67 100644 --- a/docs/index.html +++ b/docs/index.html @@ -42,7 +42,7 @@ AMR (for R) - 0.7.1.9016 + 0.7.1.9017 diff --git a/docs/news/index.html b/docs/news/index.html index e368a07d..366b2ef2 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -78,7 +78,7 @@ AMR (for R) - 0.7.1.9016 + 0.7.1.9017 @@ -225,9 +225,9 @@ -
+

-AMR 0.7.1.9016 Unreleased +AMR 0.7.1.9017 Unreleased

@@ -1198,7 +1198,7 @@ Using as.mo(..., allow_uncertain = 3)

Contents

@@ -264,8 +264,9 @@ This package contains the complete taxonomic tree of almost all microorganisms (

Examples

# NOT RUN {
 library(dplyr)
-microorganisms %>% freq(kingdom)
-microorganisms %>% group_by(kingdom) %>% freq(phylum, nmax = NULL)
+library(clean)
+microorganisms %>% freq(kingdom)
+microorganisms %>% group_by(kingdom) %>% freq(phylum, nmax = NULL)
 # }
diff --git a/man/catalogue_of_life_version.Rd b/man/catalogue_of_life_version.Rd index e9dde649..c39ce460 100644 --- a/man/catalogue_of_life_version.Rd +++ b/man/catalogue_of_life_version.Rd @@ -30,6 +30,7 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https:// \examples{ library(dplyr) +library(clean) microorganisms \%>\% freq(kingdom) microorganisms \%>\% group_by(kingdom) \%>\% freq(phylum, nmax = NULL) }