plot.parameters_simulate formatting VS parameters_model formatting #326
Annotations
1 error and 10 warnings
Extract and lint files changed by this PR
Process completed with exit code 31.
|
Extract and lint files changed by this PR:
R/plot.parameters_model.R#L50
file=R/plot.parameters_model.R,line=50,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this function from 141 to at most 40.
|
Extract and lint files changed by this PR:
R/plot.parameters_model.R#L94
file=R/plot.parameters_model.R,line=94,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 133 characters.
|
Extract and lint files changed by this PR:
R/plot.parameters_model.R#L164
file=R/plot.parameters_model.R,line=164,col=15,[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/plot.parameters_model.R#L183
file=R/plot.parameters_model.R,line=183,col=15,[nzchar_linter] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE 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/plot.parameters_model.R#L183
file=R/plot.parameters_model.R,line=183,col=50,[nzchar_linter] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE 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/plot.parameters_model.R#L183
file=R/plot.parameters_model.R,line=183,col=80,[nzchar_linter] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE 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/plot.parameters_model.R#L199
file=R/plot.parameters_model.R,line=199,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 127 characters.
|
Extract and lint files changed by this PR:
R/plot.parameters_model.R#L211
file=R/plot.parameters_model.R,line=211,col=9,[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/plot.parameters_model.R#L213
file=R/plot.parameters_model.R,line=213,col=9,[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/plot.parameters_model.R#L221
file=R/plot.parameters_model.R,line=221,col=7,[object_overwrite_linter] 'data' is an exported object from package 'utils'. Avoid re-using such symbols.
|
Loading