documentation fix

This commit is contained in:
dr. M.S. (Matthijs) Berends 2022-11-05 08:18:06 +01:00
parent d20caae54b
commit 3b652983b7
4 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,6 @@
Package: AMR
Version: 1.8.2.9041
Date: 2022-10-31
Version: 1.8.2.9042
Date: 2022-11-05
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

View File

@ -1,4 +1,4 @@
# AMR 1.8.2.9041
# AMR 1.8.2.9042
This version will eventually become v2.0! We're happy to reach a new major milestone soon!

View File

@ -143,7 +143,6 @@ age <- function(x, reference = Sys.Date(), exact = FALSE, na.rm = FALSE, ...) {
#' @return Ordered [factor]
#' @seealso To determine ages, based on one or more reference dates, use the [age()] function.
#' @export
#' @examples
#' ages <- c(3, 8, 16, 54, 31, 76, 101, 43, 21)
#'
@ -167,7 +166,7 @@ age <- function(x, reference = Sys.Date(), exact = FALSE, na.rm = FALSE, ...) {
#'
#' \donttest{
#' # resistance of ciprofloxacin per age group
#' if (require("dplyr")) {
#' if (require("dplyr") && require("ggplot2")) {
#' example_isolates %>%
#' filter_first_isolate() %>%
#' filter(mo == as.mo("Escherichia coli")) %>%

View File

@ -56,7 +56,7 @@ age_groups(ages, "children")
\donttest{
# resistance of ciprofloxacin per age group
if (require("dplyr")) {
if (require("dplyr") && require("ggplot2")) {
example_isolates \%>\%
filter_first_isolate() \%>\%
filter(mo == as.mo("Escherichia coli")) \%>\%