diff --git a/R/linter_tags.R b/R/linter_tags.R index 2c6962d7f..12bf39ca1 100644 --- a/R/linter_tags.R +++ b/R/linter_tags.R @@ -7,7 +7,7 @@ #' returned. If `tags` is `NULL`, all linters will be returned. See `available_tags("lintr")` to find out what #' tags are already used by lintr. #' @param exclude_tags Tags to exclude from the results. Linters with at least one matching tag will not be returned. -#' If `except_tags` is `NULL`, no linters will be excluded. Note that `tags` takes priority, meaning that any +#' If `exclude_tags` is `NULL`, no linters will be excluded. Note that `tags` takes priority, meaning that any #' tag found in both `tags` and `exclude_tags` will be included, not excluded. Note that linters with tag `"defunct"` #' (which do not work and can no longer be run) cannot be queried directly. See [lintr-deprecated] instead. #' diff --git a/man/available_linters.Rd b/man/available_linters.Rd index f249be48c..9aa4516bf 100644 --- a/man/available_linters.Rd +++ b/man/available_linters.Rd @@ -17,7 +17,7 @@ returned. If \code{tags} is \code{NULL}, all linters will be returned. See \code tags are already used by lintr.} \item{exclude_tags}{Tags to exclude from the results. Linters with at least one matching tag will not be returned. -If \code{except_tags} is \code{NULL}, no linters will be excluded. Note that \code{tags} takes priority, meaning that any +If \code{exclude_tags} is \code{NULL}, no linters will be excluded. Note that \code{tags} takes priority, meaning that any tag found in both \code{tags} and \code{exclude_tags} will be included, not excluded. Note that linters with tag \code{"defunct"} (which do not work and can no longer be run) cannot be queried directly. See \link{lintr-deprecated} instead.} } diff --git a/man/linters_with_tags.Rd b/man/linters_with_tags.Rd index 57385b848..d7cdbb096 100644 --- a/man/linters_with_tags.Rd +++ b/man/linters_with_tags.Rd @@ -18,7 +18,7 @@ If it does not exist, it is added. If the value is \code{NULL}, the linter is re \item{packages}{A character vector of packages to search for linters.} \item{exclude_tags}{Tags to exclude from the results. Linters with at least one matching tag will not be returned. -If \code{except_tags} is \code{NULL}, no linters will be excluded. Note that \code{tags} takes priority, meaning that any +If \code{exclude_tags} is \code{NULL}, no linters will be excluded. Note that \code{tags} takes priority, meaning that any tag found in both \code{tags} and \code{exclude_tags} will be included, not excluded. Note that linters with tag \code{"defunct"} (which do not work and can no longer be run) cannot be queried directly. See \link{lintr-deprecated} instead.} }