lintr
lintr copied to clipboard
Custom message fails for string_boundary_linter(), gives 'NA'
lint('grepl("\\\\^", spec)\n', string_boundary_linter())
# <text>:1:7: warning: [string_boundary_linter] NA Doing so is more readable and more efficient.
# grepl("\\^", spec)
# ^~~~~