Skip to content

lintr

lintr #418

Triggered via push January 31, 2024 19:50
Status Success
Total duration 53m 53s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint / lint: R/area_under_curve.R#L45
file=R/area_under_curve.R,line=45,col=5,[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 / lint: R/area_under_curve.R#L46
file=R/area_under_curve.R,line=46,col=5,[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 / lint: R/area_under_curve.R#L47
file=R/area_under_curve.R,line=47,col=5,[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 / lint: R/bayesfactor_inclusion.R#L188
file=R/bayesfactor_inclusion.R,line=188,col=44,[unnecessary_lambda_linter] Compare to a constant after calling vapply() to get the full benefits of vectorization. Prefer vapply(x, foo, FUN.VALUE = <intermediate>) == 2 over vapply(x, function(xi) foo(xi) == 2, logical(1L)).
lint / lint: R/bayesfactor_models.R#L180
file=R/bayesfactor_models.R,line=180,col=28,[keyword_quote_linter] Only quote targets of extraction with $ if necessary, i.e., if the name is not a valid R symbol (see ?make.names). Use backticks to create non-syntactic names, or use [[ to extract by string.
lint / lint: R/bayesfactor_models.R#L199
file=R/bayesfactor_models.R,line=199,col=3,[object_overwrite_linter] 'objects' is an exported object from package 'base'. Avoid re-using such symbols.
lint / lint: R/bayesfactor_models.R#L343
file=R/bayesfactor_models.R,line=343,col=28,[keyword_quote_linter] Only quote targets of extraction with $ if necessary, i.e., if the name is not a valid R symbol (see ?make.names). Use backticks to create non-syntactic names, or use [[ to extract by string.
lint / lint: R/bayesfactor_models.R#L362
file=R/bayesfactor_models.R,line=362,col=28,[keyword_quote_linter] Only quote targets of extraction with $ if necessary, i.e., if the name is not a valid R symbol (see ?make.names). Use backticks to create non-syntactic names, or use [[ to extract by string.
lint / lint: R/bayesfactor_models.R#L381
file=R/bayesfactor_models.R,line=381,col=28,[keyword_quote_linter] Only quote targets of extraction with $ if necessary, i.e., if the name is not a valid R symbol (see ?make.names). Use backticks to create non-syntactic names, or use [[ to extract by string.
lint / lint: R/bayesfactor_models.R#L400
file=R/bayesfactor_models.R,line=400,col=7,[if_not_else_linter] Prefer `if (A) x else y` to the less-readable `if (!A) y else x` in a simple if/else statement.