Issue plotting lme4 random effects from model_parameters
#312
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#L39
file=R/plot.parameters_model.R,line=39,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this function from 132 to at most 40.
|
Extract and lint files changed by this PR:
R/plot.parameters_model.R#L71
file=R/plot.parameters_model.R,line=71,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#L141
file=R/plot.parameters_model.R,line=141,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#L160
file=R/plot.parameters_model.R,line=160,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#L160
file=R/plot.parameters_model.R,line=160,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#L160
file=R/plot.parameters_model.R,line=160,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#L176
file=R/plot.parameters_model.R,line=176,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#L188
file=R/plot.parameters_model.R,line=188,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#L190
file=R/plot.parameters_model.R,line=190,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#L198
file=R/plot.parameters_model.R,line=198,col=7,[object_overwrite_linter] 'data' is an exported object from package 'utils'. Avoid re-using such symbols.
|
Loading