1
0
mirror of https://github.com/msberends/AMR.git synced 2025-04-19 08:33:49 +02:00

lintr fix

This commit is contained in:
dr. M.S. (Matthijs) Berends 2025-02-27 16:44:56 +01:00
parent 07efc292bc
commit fa519105eb
No known key found for this signature in database

View File

@ -60,11 +60,14 @@ jobs:
any::devtools
any::usethis
- name: Lint
- name: Remove unneeded folders
run: |
# no not check these folders
# do not check these folders
rm -rf data-raw
rm -rf tests
- name: Lint
run: |
# old: lintr::lint_package(linters = lintr::with_defaults(line_length_linter = NULL, trailing_whitespace_linter = NULL, object_name_linter = NULL, cyclocomp_linter = NULL, object_length_linter = lintr::object_length_linter(length = 50L)), exclusions = list("R/aa_helper_pm_functions.R"))
# now get ALL linters, not just default ones
linters <- getNamespaceExports(asNamespace("lintr"))