| normalize_exclusions | R Documentation |
Normalize lint exclusions
normalize_exclusions(x, normalize_path = TRUE, root = getwd(), pattern = NULL)
x |
Exclusion specification
|
normalize_path |
Should the names of the returned exclusion list be normalized paths?
If |
root |
Base directory for relative filename resolution. |
pattern |
If non-NULL, only exclude files in excluded directories if they match
|
A named list of file exclusions. The names of the list specify the filenames to be excluded.
Each file exclusion is a possibly named list containing line numbers to exclude, or the sentinel Inf for
completely excluded files. If the an entry is named, the exclusions only take effect for the linter with
the same name.
If normalize_path is TRUE, file names will be normalized relative to root.
Otherwise the paths are left as provided (relative to root or absolute). That also means
existence is not checked.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.