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 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