1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-21 06:53:15 +02:00

(v2.1.1.9160) cleanup

This commit is contained in:
2025-02-26 20:28:33 +01:00
parent 0c3ea4b538
commit 22e66741cc
13 changed files with 38 additions and 50 deletions

View File

@ -53,7 +53,9 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::lintr
extra-packages: |
any::lintr
any::cyclocomp
- name: Lint
run: |
@ -63,6 +65,7 @@ jobs:
linters <- sort(linters[grepl("_linter$", linters)])
# lose deprecated
linters <- linters[!grepl("^(closed_curly|open_curly|paren_brace|semicolon_terminator|consecutive_stopifnot|no_tab|single_quotes|unnecessary_nested_if|unneeded_concatenation)_linter$", linters)]
linters <- linters[linters != "linter"]
# and the ones we find unnnecessary
linters <- linters[!grepl("^(extraction_operator|implicit_integer|line_length|object_name|nonportable_path|is)_linter$", linters)]
# put the functions in a list