parameters() fails on binomial mgcv::gam #771
Annotations
1 error and 11 warnings
Extract and lint files changed by this PR
Process completed with exit code 31.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Extract and lint files changed by this PR:
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.
|
Extract and lint files changed by this PR:
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.
|
Extract and lint files changed by this PR:
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.
|
Extract and lint files changed by this PR:
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.
|
Extract and lint files changed by this PR:
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.
|
Extract and lint files changed by this PR:
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.
|
Extract and lint files changed by this PR:
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.
|
Extract and lint files changed by this PR:
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.
|
Extract and lint files changed by this PR:
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.
|
Extract and lint files changed by this PR:
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.
|
Loading