Test on latest datawizard #761
lint-changed-files.yaml
on: pull_request
lint-changed-files
/
lint-changed-files
2m 19s
Annotations
1 error and 10 warnings
lint-changed-files / lint-changed-files
Process completed with exit code 31.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L135
file=R/dominance_analysis.R,line=135,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this function from 53 to at most 40.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L159
file=R/dominance_analysis.R,line=159,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 124 characters.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L231
file=R/dominance_analysis.R,line=231,col=7,[if_not_else_linter] Prefer `if (A) x else y` to the less-readable `if (!A) y else x` in a simple if/else statement.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L253
file=R/dominance_analysis.R,line=253,col=32,[nzchar_linter] Use !nzchar(x) instead of x == "". Note that unlike nzchar(), EQ coerces to character, so you'll have to use as.character() if x is a factor. Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L280
file=R/dominance_analysis.R,line=280,col=7,[if_not_else_linter] Prefer `if (A) x else y` to the less-readable `if (!A) y else x` in a simple if/else statement.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L334
file=R/dominance_analysis.R,line=334,col=3,[object_overwrite_linter] 'data' is an exported object from package 'utils'. Avoid re-using such symbols.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L336
file=R/dominance_analysis.R,line=336,col=3,[object_overwrite_linter] 'args' is an exported object from package 'base'. Avoid re-using such symbols.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L345
file=R/dominance_analysis.R,line=345,col=3,[object_overwrite_linter] 'args' is an exported object from package 'base'. Avoid re-using such symbols.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L346
file=R/dominance_analysis.R,line=346,col=3,[object_overwrite_linter] 'args' is an exported object from package 'base'. Avoid re-using such symbols.
|
lint-changed-files / lint-changed-files:
R/dominance_analysis.R#L446
file=R/dominance_analysis.R,line=446,col=23,[if_not_else_linter] Prefer `if (A) x else y` to the less-readable `if (!A) y else x` in a simple if/else statement.
|