You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using capturing groups "()" in any regex string, returns Error: Linter 'object_name_linter' failed in [...]: only defined on a data frame with all numeric-alike variables
The text was updated successfully, but these errors were encountered:
# Pull Request
<!--- Replace `#nnn` with your issue link for reference. -->
Part of #172
#### Changes description
- Add new regex style to object_name_linter to account for ADaM
variables.
- See `.lintr` file
- `regexes = c(ANL = "^ANL_?[0-9]*$", ADaM =
"^r?ADSL|ADTTE|ADLB|ADRS|ADAE$"))`
- Allows for variables named `ANL` with optional underscore and numbers
after.
- note: can't use groups (`(rule_within_parenthesis)`) due to
[r-lib/lintr/issues/2188](r-lib/lintr#2188)
not being released yet.
- Convert other `# nolint` to specific `# nolint: <rule name>.` for
specificity
---------
Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com>
Co-authored-by: m7pr <marcin.kosinski.mk1@roche.com>
Using capturing groups "()" in any regex string, returns Error: Linter 'object_name_linter' failed in [...]: only defined on a data frame with all numeric-alike variables
The text was updated successfully, but these errors were encountered: