Skip to content

New linter for complex conditional expressions #6748

New linter for complex conditional expressions

New linter for complex conditional expressions #6748

Triggered via pull request October 30, 2024 20:33
Status Failure
Total duration 4m 20s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
lint
Process completed with exit code 31.
lint
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
lint: R/get_source_expressions.R#L89
file=R/get_source_expressions.R,line=89,col=7,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.
lint: R/lint.R#L367
file=R/lint.R,line=367,col=10,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.
lint: R/lint.R#L413
file=R/lint.R,line=413,col=7,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.
lint: R/object_name_linter.R#L86
file=R/object_name_linter.R,line=86,col=7,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.
lint: R/path_utils.R#L113
file=R/path_utils.R,line=113,col=7,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.
lint: R/pipe_consistency_linter.R#L50
file=R/pipe_consistency_linter.R,line=50,col=9,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.
lint: R/trailing_blank_lines_linter.R#L37
file=R/trailing_blank_lines_linter.R,line=37,col=12,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.
lint: R/undesirable_function_linter.R#L60
file=R/undesirable_function_linter.R,line=60,col=7,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.
lint: R/undesirable_operator_linter.R#L46
file=R/undesirable_operator_linter.R,line=46,col=7,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.
lint: R/utils.R#L2
file=R/utils.R,line=2,col=7,[complex_conditional_linter] Complex conditional with more than 1 logical operator(s). Consider extracting into a boolean function or variable for readability and reusability.