Cmdstanr methods #3252
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/export_table.R#L700
file=R/export_table.R,line=700,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this expression from 76 to at most 40. Consider replacing high-complexity sections like loops and branches with helper functions.
|
|
lint / lint:
R/export_table.R#L629
file=R/export_table.R,line=629,col=5,[unreachable_code_linter] Remove code and comments coming after return().
|
|
lint / lint:
R/export_table.R#L192
file=R/export_table.R,line=192,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this expression from 73 to at most 40. Consider replacing high-complexity sections like loops and branches with helper functions.
|
|
lint / lint:
R/compute_variances.R#L1075
file=R/compute_variances.R,line=1075,col=7,[undesirable_function_linter] Avoid undesirable function "mapply".
|
|
lint / lint:
R/compute_variances.R#L609
file=R/compute_variances.R,line=609,col=3,[function_argument_linter] Arguments without defaults should come before arguments with defaults.
|
|
lint / lint:
R/compute_variances.R#L375
file=R/compute_variances.R,line=375,col=3,[function_argument_linter] Arguments without defaults should come before arguments with defaults.
|
|
lint / lint:
R/compute_variances.R#L260
file=R/compute_variances.R,line=260,col=3,[return_linter] Use implicit return behavior; explicit return() is not needed.
|
|
lint / lint:
R/compute_variances.R#L1
file=R/compute_variances.R,line=1,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this expression from 57 to at most 40. Consider replacing high-complexity sections like loops and branches with helper functions.
|
|
lint / lint:
R/clean_names.R#L160
file=R/clean_names.R,line=160,col=11,[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/clean_names.R#L109
file=R/clean_names.R,line=109,col=1,[cyclocomp_linter] Reduce the cyclomatic complexity of this expression from 56 to at most 40. Consider replacing high-complexity sections like loops and branches with helper functions.
|