Try to fix warnings in examples and vignettes #150
lint-changed-files.yaml
on: pull_request
lint-changed-files
/
lint-changed-files
3m 24s
Annotations
1 error and 7 warnings
lint-changed-files / lint-changed-files
Process completed with exit code 31.
|
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.
|