mark_lints {packager} | R Documentation |
Mark Lints by Name Suffix
Description
I often use internals from other packages and save them in files
named ..._internals..., ..._verbatim... or ..._modified... .
I want these to be marked in lintr's output.
Usage
mark_lints(
x,
sort = TRUE,
invert = FALSE,
file_name_markers = c("_internals", "_verbatim", "_modified")
)
print_lints(
x,
sort = TRUE,
invert = FALSE,
file_name_markers = c("_internals", "_verbatim", "_modified")
)
Arguments
x |
A list of lints. |
sort |
Sort by file name suffix? |
invert |
Invert the sorting? |
file_name_markers |
Parts of the file name which mark copied code. |
Value
The list of lints with names marked.
Note
print_lints
is an old, stale name for mark_lints
.
[Package packager version 1.15.3 Index]