Issue plotting lme4 random effects from model_parameters
#319
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 135 to at most 40.
|
Extract and lint files changed by this PR:
R/plot.parameters_model.R#L73
file=R/plot.parameters_model.R,line=73,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#L143
file=R/plot.parameters_model.R,line=143,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#L162
file=R/plot.parameters_model.R,line=162,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#L162
file=R/plot.parameters_model.R,line=162,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#L162
file=R/plot.parameters_model.R,line=162,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#L178
file=R/plot.parameters_model.R,line=178,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#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#L192
file=R/plot.parameters_model.R,line=192,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#L200
file=R/plot.parameters_model.R,line=200,col=7,[object_overwrite_linter] 'data' is an exported object from package 'utils'. Avoid re-using such symbols.
|
Loading