fix examples #149
Annotations
1 error and 10 warnings
|
R/plot.check_outliers.R#L56
file=R/plot.check_outliers.R,line=56,col=9,[length_test_linter] Checking the length of a logical vector is likely a mistake. Did you mean `length(methods) == 1`?
|
R/plot.compare_performance.R#L33
file=R/plot.compare_performance.R,line=33,col=20,[unnecessary_lambda_linter] Pass anyNA directly as a symbol to vapply() instead of wrapping it in an unnecessary anonymous function. For example, prefer lapply(DF, sum) to lapply(DF, function(x) sum(x)).
|
R/plot.describe_distribution.R#L140
file=R/plot.describe_distribution.R,line=140,col=7,[if_not_else_linter] In a simple if/else statement, prefer `if (A) x else y` to the less-readable `if (!A) y else x`.
|
R/plot.hdi.R#L35
file=R/plot.hdi.R,line=35,col=7,[if_not_else_linter] In a simple if/else statement, prefer `if (A) x else y` to the less-readable `if (!A) y else x`.
|
R/plot.hdi.R#L62
file=R/plot.hdi.R,line=62,col=11,[if_not_else_linter] In a simple if/else statement, prefer `if (A) x else y` to the less-readable `if (!A) y else x`.
|
R/plot.hdi.R#L67
file=R/plot.hdi.R,line=67,col=13,[keyword_quote_linter] Only quote named arguments to functions if necessary, i.e., if the name is not a valid R symbol (see ?make.names).
|
R/plot.hdi.R#L68
file=R/plot.hdi.R,line=68,col=13,[keyword_quote_linter] Only quote named arguments to functions if necessary, i.e., if the name is not a valid R symbol (see ?make.names).
|
R/plot.hdi.R#L143
file=R/plot.hdi.R,line=143,col=18,[undesirable_function_linter] Function "sapply" is undesirable.
|
R/plot.hdi.R#L144
file=R/plot.hdi.R,line=144,col=19,[undesirable_function_linter] Function "sapply" is undesirable.
|
R/plot.hdi.R#L152
file=R/plot.hdi.R,line=152,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 125 characters.
|
The logs for this run have expired and are no longer available.
Loading