Skip to content

lintr

lintr #486

Triggered via push August 22, 2024 22:07
Status Success
Total duration 8m 14s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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#L349
file=R/bayesfactor_models.R,line=349,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#L449
file=R/bayesfactor_models.R,line=449,col=34,[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#L568
file=R/bayesfactor_models.R,line=568,col=7,[return_linter] Use implicit return behavior; explicit return() is not needed.
lint / lint: R/bayesfactor_parameters.R#L268
file=R/bayesfactor_parameters.R,line=268,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 136 characters.
lint / lint: R/bayesfactor_parameters.R#L295
file=R/bayesfactor_parameters.R,line=295,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 139 characters.
lint / lint: R/bayesfactor_parameters.R#L446
file=R/bayesfactor_parameters.R,line=446,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 130 characters.
lint / lint: R/bayesfactor.R#L11
file=R/bayesfactor.R,line=11,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 148 characters.
lint / lint: R/bayesfactor.R#L20
file=R/bayesfactor.R,line=20,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 145 characters.