From cb82675355ff019b17490cc40a6ac30d292c8230 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Thu, 16 Nov 2023 07:05:30 +0000 Subject: [PATCH 1/2] missing () --- R/nonportable_path_linter.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/nonportable_path_linter.R b/R/nonportable_path_linter.R index 369d5aac6..aaf59b9ea 100644 --- a/R/nonportable_path_linter.R +++ b/R/nonportable_path_linter.R @@ -6,7 +6,7 @@ #' # will produce lints #' lint( #' text = "'abcdefg/hijklmnop/qrst/uv/wxyz'", -#' linters = nonportable_path_linter +#' linters = nonportable_path_linter() #' ) #' #' # okay From abbc68bfbc8de6c995e10c9c9e95b87671ed379c Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Thu, 16 Nov 2023 15:59:41 -0800 Subject: [PATCH 2/2] Update nonportable_path_linter.Rd --- man/nonportable_path_linter.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/nonportable_path_linter.Rd b/man/nonportable_path_linter.Rd index e94460023..4b9d2cb53 100644 --- a/man/nonportable_path_linter.Rd +++ b/man/nonportable_path_linter.Rd @@ -21,7 +21,7 @@ Check that \code{\link[=file.path]{file.path()}} is used to construct safe and p # will produce lints lint( text = "'abcdefg/hijklmnop/qrst/uv/wxyz'", - linters = nonportable_path_linter + linters = nonportable_path_linter() ) # okay