From 56bc90d58d0ee34f8a4d0a697bc60d7c917ffc77 Mon Sep 17 00:00:00 2001 From: Hugo Gruson Date: Thu, 14 Dec 2023 10:30:13 +0100 Subject: [PATCH] Mention and link to correct fct in use_lintr() --- R/use_lintr.R | 2 +- man/use_lintr.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/use_lintr.R b/R/use_lintr.R index 829adf3d7..d72711b5e 100644 --- a/R/use_lintr.R +++ b/R/use_lintr.R @@ -8,7 +8,7 @@ #' #' * `tidyverse` creates a minimal lintr config, based on the default linters ([linters_with_defaults()]). #' These are suitable for following [the tidyverse style guide](https://style.tidyverse.org/). -#' * `full` creates a lintr config using all available linters via [linters_with_tags()]. +#' * `full` creates a lintr config using all available linters via [all_linters()]. #' #' @return Path to the generated configuration, invisibly. #' diff --git a/man/use_lintr.Rd b/man/use_lintr.Rd index 701e1042c..c4cf98b74 100644 --- a/man/use_lintr.Rd +++ b/man/use_lintr.Rd @@ -14,7 +14,7 @@ If the \code{.lintr} file already exists, an error will be thrown.} \itemize{ \item \code{tidyverse} creates a minimal lintr config, based on the default linters (\code{\link[=linters_with_defaults]{linters_with_defaults()}}). These are suitable for following \href{https://style.tidyverse.org/}{the tidyverse style guide}. -\item \code{full} creates a lintr config using all available linters via \code{\link[=linters_with_tags]{linters_with_tags()}}. +\item \code{full} creates a lintr config using all available linters via \code{\link[=all_linters]{all_linters()}}. }} } \value{