-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
This works
lintr::lint(
text = "x = 1",
linters = lintr::assignment_linter(),
exclude = "(?:a)|(?:b)"
)But this
lintr::lint(
text = "x = 1",
linters = lintr::assignment_linter(),
exclude = "(a)|(b)"
)raises an error that I think most users will not understand:
Error in `[.data.frame`(re_matches(lines, exclude, locations = TRUE), :
undefined columns selected
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior