Skip to content

fix examples

fix examples #149

Triggered via pull request October 7, 2023 17:58
Status Failure
Total duration 8m 7s
Artifacts

lint-changed-files.yaml

on: pull_request
lint-changed-files  /  lint-changed-files
5m 28s
lint-changed-files / lint-changed-files
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
lint-changed-files / lint-changed-files
Process completed with exit code 31.
lint-changed-files / lint-changed-files: 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`?
lint-changed-files / lint-changed-files: 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)).
lint-changed-files / lint-changed-files: 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`.
lint-changed-files / lint-changed-files: 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`.
lint-changed-files / lint-changed-files: 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`.
lint-changed-files / lint-changed-files: 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).
lint-changed-files / lint-changed-files: 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).
lint-changed-files / lint-changed-files: R/plot.hdi.R#L143
file=R/plot.hdi.R,line=143,col=18,[undesirable_function_linter] Function "sapply" is undesirable.
lint-changed-files / lint-changed-files: R/plot.hdi.R#L144
file=R/plot.hdi.R,line=144,col=19,[undesirable_function_linter] Function "sapply" is undesirable.
lint-changed-files / lint-changed-files: 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.