Skip to contents

Check that file.path() is used to construct safe and portable paths.


nonportable_path_linter(lax = TRUE)



Less stringent linting, leading to fewer false positives. If TRUE, only lint path strings, which

  • contain at least two path elements, with one having at least two characters and

  • contain only alphanumeric chars (including UTF-8), spaces, and win32-allowed punctuation

See also

linters for a complete list of linters available in lintr.