diff --git a/R/epidist_db.R b/R/epidist_db.R index c29578ea0..d5f167784 100644 --- a/R/epidist_db.R +++ b/R/epidist_db.R @@ -32,8 +32,8 @@ #' (and `author` if specified). If left as `NULL` (default) no subsetting is #' carried out. #' -#' The expression can be specified without using the data object name -#' (e.g. `df$var`) and instead just `var` can be supplied (see details). In +#' The expression should be specified without using the data object name +#' (e.g. `df$var`) and instead just `var` should be supplied. In #' other words, this argument works the same as the `subset` argument in #' [`subset()`]. It is similar to `` using by the `dplyr` package. #' @@ -101,6 +101,7 @@ epidist_db <- function(disease, author = NULL, subset = NULL, single_epidist = FALSE) { + browser() # check input checkmate::assert_string(disease) epi_dist <- match.arg(arg = epi_dist, several.ok = FALSE) diff --git a/man/epidist_db.Rd b/man/epidist_db.Rd index 35fb98b68..a104afd6c 100644 --- a/man/epidist_db.Rd +++ b/man/epidist_db.Rd @@ -32,8 +32,8 @@ with the subsetting done with the \code{disease} and \code{epidist} arguments (and \code{author} if specified). If left as \code{NULL} (default) no subsetting is carried out. -The expression can be specified without using the data object name -(e.g. \code{df$var}) and instead just \code{var} can be supplied (see details). In +The expression should be specified without using the data object name +(e.g. \code{df$var}) and instead just \code{var} should be supplied. In other words, this argument works the same as the \code{subset} argument in \code{\link[=subset]{subset()}}. It is similar to \verb{} using by the \code{dplyr} package.}