diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 5a137fdd..42552dfd 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -38,7 +38,8 @@ jobs: run: | options(crayon.enabled = TRUE) library(lintr) - lint_package(linters = linters_with_defaults( + lint_package(linters = linters_with_tags( + tags = NULL, absolute_path_linter = NULL, assignment_linter = NULL, commented_code_linter = NULL, @@ -59,8 +60,7 @@ jobs: undesirable_function_linter = NULL, undesirable_operator_linter = NULL, unnecessary_concatenation_linter(allow_single_expression = FALSE), - unused_import_linter = NULL, - defaults = linters_with_tags(tags = NULL) + unused_import_linter = NULL )) shell: Rscript {0} env: diff --git a/.lintr b/.lintr index 843f5e62..c4243707 100644 --- a/.lintr +++ b/.lintr @@ -1,4 +1,5 @@ -linters: linters_with_defaults( +linters: linters_with_tags( + tags = NULL, absolute_path_linter = NULL, assignment_linter = NULL, commented_code_linter = NULL, @@ -19,6 +20,5 @@ linters: linters_with_defaults( undesirable_function_linter = NULL, undesirable_operator_linter = NULL, unnecessary_concatenation_linter(allow_single_expression = FALSE), - unused_import_linter = NULL, - defaults = linters_with_tags(tags = NULL) + unused_import_linter = NULL )