From be3672f81d0c10febbe542fa44b2f53f67a40ed3 Mon Sep 17 00:00:00 2001 From: Salim B <git@salim.space> Date: Fri, 10 Nov 2023 04:50:47 +0100 Subject: [PATCH 1/2] Fix typo --- R/lint.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/lint.R b/R/lint.R index 9d7f910ac..4b5525b4d 100644 --- a/R/lint.R +++ b/R/lint.R @@ -17,7 +17,7 @@ #' @param ... Provide additional arguments to be passed to: #' - [exclude()] (in case of `lint()`; e.g. `lints` or `exclusions`) #' - [lint()] (in case of `lint_dir()` and `lint_package()`; e.g. `linters` or `cache`) -#' @param cache When logical, toggle caching of lint results. I1f passed a character string, store the cache in this +#' @param cache When logical, toggle caching of lint results. If passed a character string, store the cache in this #' directory. #' @param parse_settings Logical, default `TRUE`. Whether to try and parse the settings; #' otherwise, the [default_settings()] are used. From f86d9145fe24fe0252edebaa22ee185132f8992f Mon Sep 17 00:00:00 2001 From: Salim B <git@salim.space> Date: Fri, 10 Nov 2023 06:08:42 +0100 Subject: [PATCH 2/2] Roxygenize --- man/lint.Rd | 2 +- man/unused_import_linter.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/lint.Rd b/man/lint.Rd index fff56d96d..1a10f529a 100644 --- a/man/lint.Rd +++ b/man/lint.Rd @@ -48,7 +48,7 @@ linters.} \item \code{\link[=lint]{lint()}} (in case of \code{lint_dir()} and \code{lint_package()}; e.g. \code{linters} or \code{cache}) }} -\item{cache}{When logical, toggle caching of lint results. I1f passed a character string, store the cache in this +\item{cache}{When logical, toggle caching of lint results. If passed a character string, store the cache in this directory.} \item{parse_settings}{Logical, default \code{TRUE}. Whether to try and parse the settings; diff --git a/man/unused_import_linter.Rd b/man/unused_import_linter.Rd index 312139696..5d8411c36 100644 --- a/man/unused_import_linter.Rd +++ b/man/unused_import_linter.Rd @@ -14,7 +14,7 @@ unused_import_linter( \item{allow_ns_usage}{Suppress lints for packages only used via namespace. This is \code{FALSE} by default because \code{pkg::fun()} doesn't require \code{library(pkg)}. You can use \link[=requireNamespace]{requireNamespace("pkg")} to ensure a package is -installed without loading it.} +installed without attaching it.} \item{except_packages}{Character vector of packages that are ignored. These are usually attached for their side effects.}