-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#254) * chore: reduce cyclomatic complexity * chore: remove extra lintr rules * fix: force numeric width attribute * lintr: reduce complexity and improve lintr rules * lintr: allows object_usage linter with specific exception for glue * chore: revert import of deprecate_stop * chore: use integer for vapply template * lintr: rename argument of internal function * chore: missed 1 deprecated_stop in regression * lintr: remove exception no longer necessary * feat: remove repeated $ * chore: remove extra empty line * lintr: revert to disable object_usage * fix: remove space * chore: removes unused import
- Loading branch information
1 parent
5fea973
commit 1bb339a
Showing
10 changed files
with
77 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
linters: linters_with_defaults( | ||
cyclocomp_linter(complexity_limit = 25), | ||
line_length_linter(120), | ||
object_usage_linter = NULL, | ||
object_name_linter = NULL, | ||
trailing_whitespace_linter(allow_empty_lines = TRUE, allow_in_strings = TRUE) | ||
object_name_linter = object_name_linter( | ||
styles = c("snake_case", "symbols"), | ||
regexes = c( | ||
xportr_attr = "^_xportr\\.[a-z_]+_$", # Attribute names used in xportr | ||
ADaM = "^AD[A-Z]{2,3}$" # Supports CDISC ADaM standard for non-sponsored datasets | ||
) | ||
) | ||
) | ||
encoding: "UTF-8" | ||
exclusions: list() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.