Use modelbased posterior predictions in check_predictions() for Bayesian models
#1747
Annotations
11 warnings
|
lint / lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, r-lib/actions/setup-r@6f6e5bc62fba3a704f74e7ad7ef7676c5c6a2590. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
lint / lint:
R/check_homogeneity.R#L84
file=R/check_homogeneity.R,line=84,col=3,[if_switch_linter] Prefer switch() statements over repeated if/else equality tests, e.g., switch(x, a = 1, b = 2) over if (x == "a") 1 else if (x == "b") 2.
|
|
lint / lint:
R/check_group_variation.R#L325
file=R/check_group_variation.R,line=325,col=5,[return_linter] Use implicit return behavior; explicit return() is not needed.
|
|
lint / lint:
R/check_group_variation.R#L318
file=R/check_group_variation.R,line=318,col=7,[return_linter] Use implicit return behavior; explicit return() is not needed.
|
|
lint / lint:
R/check_group_variation.R#L316
file=R/check_group_variation.R,line=316,col=7,[return_linter] Use implicit return behavior; explicit return() is not needed.
|
|
lint / lint:
R/check_group_variation.R#L307
file=R/check_group_variation.R,line=307,col=27,[paste_linter] Use paste(), not paste0(), to collapse a character vector when sep= is not used.
|
|
lint / lint:
R/check_group_variation.R#L307
file=R/check_group_variation.R,line=307,col=27,[paste_linter] toString(.) is more expressive than paste(., collapse = ", "). Note also glue::glue_collapse() and and::and() for constructing human-readable / translation-friendly lists
|
|
lint / lint:
R/check_group_variation.R#L292
file=R/check_group_variation.R,line=292,col=14,[scalar_in_linter] Use comparison operators (e.g. ==, !=, etc.) to match length-1 scalars instead of %in%. Note that if x can be NA, x == 'arg' is NA whereas x %in% 'arg' is FALSE, so consider extra protection for the missing case in your code.
|
|
lint / lint:
R/check_group_variation.R#L150
file=R/check_group_variation.R,line=150,col=3,[object_overwrite_linter] 'by' is an exported object from package 'base'. Avoid re-using such symbols.
|
|
lint / lint:
R/check_factorstructure.R#L230
file=R/check_factorstructure.R,line=230,col=3,[return_linter] Use implicit return behavior; explicit return() is not needed.
|
|
lint / lint:
R/check_collinearity.R#L538
file=R/check_collinearity.R,line=538,col=3,[object_overwrite_linter] 'R' is an exported object from package 'tools'. Avoid re-using such symbols.
|