use new dlogspline #427
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#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#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.
|
lint / lint:
R/bayesfactor_models.R#L437
file=R/bayesfactor_models.R,line=437,col=5,[commented_code_linter] Remove commented code.
|
lint / lint:
R/bayesfactor_models.R#L450
file=R/bayesfactor_models.R,line=450,col=7,[unnecessary_nesting_linter] Reduce the nesting of this statement by removing the braces {}.
|