Issues with blavaan #473
Annotations
10 warnings
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)).
|
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.
|
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.
|
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.
|
R/bayesfactor_models.R#L376
file=R/bayesfactor_models.R,line=376,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.
|
R/bayesfactor_models.R#L451
file=R/bayesfactor_models.R,line=451,col=19,[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.
|
R/bayesfactor_models.R#L462
file=R/bayesfactor_models.R,line=462,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.
|
R/bayesfactor_models.R#L574
file=R/bayesfactor_models.R,line=574,col=7,[return_linter] Use implicit return behavior; explicit return() is not needed.
|
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.
|
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.
|
This job succeeded
Loading