Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit118e764

Browse files
Delete defunct linters (#2978)
* Delete defunct linters* remove entry for deleted file* Remove other references to lintr-deprecated
1 parenteb43341 commit118e764

17 files changed

+7
-180
lines changed

‎.github/workflows/test-coverage-examples.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
"R/exclude.R",
4242
"R/extract.R",
4343
"R/ids_with_token.R",
44-
"R/lintr-deprecated.R",
4544
"R/make_linter_from_regex.R",
4645
"R/make_linter_from_xpath.R",
4746
"R/namespace.R",

‎DESCRIPTION‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ Collate:
133133
'lint.R'
134134
'linter_tag_docs.R'
135135
'linter_tags.R'
136-
'lintr-deprecated.R'
137136
'lintr-package.R'
138137
'list2df_linter.R'
139138
'list_comparison_linter.R'

‎NAMESPACE‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export(condition_message_linter)
3939
export(conjunct_test_linter)
4040
export(consecutive_assertion_linter)
4141
export(consecutive_mutate_linter)
42-
export(consecutive_stopifnot_linter)
4342
export(cyclocomp_linter)
4443
export(default_linters)
4544
export(default_settings)
@@ -62,7 +61,6 @@ export(expect_s3_class_linter)
6261
export(expect_s4_class_linter)
6362
export(expect_true_false_linter)
6463
export(expect_type_linter)
65-
export(extraction_operator_linter)
6664
export(fixed_regex_linter)
6765
export(for_loop_index_linter)
6866
export(function_argument_linter)
@@ -105,7 +103,6 @@ export(modify_defaults)
105103
export(namespace_linter)
106104
export(nested_ifelse_linter)
107105
export(nested_pipe_linter)
108-
export(no_tab_linter)
109106
export(nonportable_path_linter)
110107
export(nrow_subset_linter)
111108
export(numeric_leading_zero_linter)
@@ -137,7 +134,6 @@ export(sarif_output)
137134
export(scalar_in_linter)
138135
export(semicolon_linter)
139136
export(seq_linter)
140-
export(single_quotes_linter)
141137
export(sort_linter)
142138
export(spaces_inside_linter)
143139
export(spaces_left_parentheses_linter)
@@ -154,10 +150,8 @@ export(undesirable_function_linter)
154150
export(undesirable_operator_linter)
155151
export(unnecessary_concatenation_linter)
156152
export(unnecessary_lambda_linter)
157-
export(unnecessary_nested_if_linter)
158153
export(unnecessary_nesting_linter)
159154
export(unnecessary_placeholder_linter)
160-
export(unneeded_concatenation_linter)
161155
export(unreachable_code_linter)
162156
export(unused_import_linter)
163157
export(use_lintr)

‎NEWS.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#lintr (development version)
22

3-
Nothing yet :)
3+
##Deprecations & breaking changes
4+
5+
* Six linters fully deprecated in the previous release are now removed:`consecutive_stopifnot_linter()`,`extraction_operator_linter()`,`no_tab_linter()`,`single_quotes_linter()`,`unnecessary_nested_if_linter()`, and`unneeded_concatenation_linter()`.
46

57
#lintr (3.3.0-1)
68

‎R/linter_tags.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#' @param exclude_tags Tags to exclude from the results. Linters with at least one matching tag will not be returned.
1010
#' If `exclude_tags` is `NULL`, no linters will be excluded. Note that `tags` takes priority, meaning that any
1111
#' tag found in both `tags` and `exclude_tags` will be included, not excluded. Note that linters with tag `"defunct"`
12-
#' (which do not work and can no longer be run) cannot be queried directly. See [lintr-deprecated] instead.
12+
#' (which do not work and can no longer be run) cannot be queried directly.
1313
#'
1414
#' @section Package Authors:
1515
#'

‎R/lintr-deprecated.R‎

Lines changed: 0 additions & 85 deletions
This file was deleted.

‎inst/lintr/linters.csv‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ condition_message_linter,best_practices consistency
1717
conjunct_test_linter,package_development best_practices readability configurable pkg_testthat
1818
consecutive_assertion_linter,style readability consistency
1919
consecutive_mutate_linter,consistency readability configurable efficiency
20-
consecutive_stopifnot_linter,defunct
2120
cyclocomp_linter,style readability best_practices configurable
2221
download_file_linter,common_mistakes best_practices robustness
2322
duplicate_argument_linter,correctness common_mistakes configurable
@@ -33,7 +32,6 @@ expect_s3_class_linter,package_development best_practices pkg_testthat
3332
expect_s4_class_linter,package_development best_practices pkg_testthat
3433
expect_true_false_linter,package_development best_practices readability pkg_testthat
3534
expect_type_linter,package_development best_practices pkg_testthat
36-
extraction_operator_linter,defunct
3735
fixed_regex_linter,best_practices readability efficiency configurable regex
3836
for_loop_index_linter,best_practices readability robustness
3937
function_argument_linter,style consistency best_practices
@@ -63,7 +61,6 @@ missing_package_linter,robustness common_mistakes
6361
namespace_linter,correctness robustness configurable executing
6462
nested_ifelse_linter,efficiency readability
6563
nested_pipe_linter,readability consistency configurable
66-
no_tab_linter,defunct
6764
nonportable_path_linter,robustness best_practices configurable
6865
nrow_subset_linter,efficiency consistency best_practices
6966
numeric_leading_zero_linter,style consistency readability
@@ -94,7 +91,6 @@ sample_int_linter,efficiency readability robustness
9491
scalar_in_linter,readability consistency best_practices efficiency configurable
9592
semicolon_linter,style readability default configurable
9693
seq_linter,robustness efficiency consistency best_practices default
97-
single_quotes_linter,defunct
9894
sort_linter,readability best_practices efficiency
9995
spaces_inside_linter,style readability default
10096
spaces_left_parentheses_linter,style readability default
@@ -112,10 +108,8 @@ undesirable_function_linter,style configurable robustness best_practices
112108
undesirable_operator_linter,style configurable robustness best_practices
113109
unnecessary_concatenation_linter,style readability efficiency configurable
114110
unnecessary_lambda_linter,best_practices efficiency readability configurable
115-
unnecessary_nested_if_linter,defunct
116111
unnecessary_nesting_linter,readability consistency configurable best_practices
117112
unnecessary_placeholder_linter,readability best_practices
118-
unneeded_concatenation_linter,defunct
119113
unreachable_code_linter,best_practices readability configurable
120114
unused_import_linter,best_practices common_mistakes configurable executing
121115
vector_logic_linter,default efficiency best_practices common_mistakes

‎man/available_linters.Rd‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎man/linters_with_tags.Rd‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎man/lintr-deprecated.Rd‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp