feat: add tests and improve several functions #13
Annotations
11 warnings
|
flir
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
|
|
flir:
R/standalone-ts_cli.R#L70
file=/Users/runner/work/rpkgkit/rpkgkit/R/standalone-ts_cli.R,line=70,col=5,[if (length(messages) > 0L) {
|
|
flir:
R/standalone-caller_cli.R#L73
file=/Users/runner/work/rpkgkit/rpkgkit/R/standalone-caller_cli.R,line=73,col=5,[if (length(messages) > 0) {
|
|
flir:
R/standalone-args_to_func.R#L330
file=/Users/runner/work/rpkgkit/rpkgkit/R/standalone-args_to_func.R,line=330,col=28,[arg_names != ""] Use nzchar(x) instead of x != "". Use nzchar(x, keepNA = TRUE) if missing data is possible. Use nzchar(as.character(x)) if x may not be a character vector.
|
|
flir:
R/standalone-args_to_func.R#L172
file=/Users/runner/work/rpkgkit/rpkgkit/R/standalone-args_to_func.R,line=172,col=42,[names(args_list) == ""] Use !nzchar(x) instead of x == "". Use !nzchar(x, keepNA = TRUE) if missing data is possible. Use !nzchar(as.character(x)) if x may not be a character vector.
|
|
flir:
R/standalone-args_to_func.R#L171
file=/Users/runner/work/rpkgkit/rpkgkit/R/standalone-args_to_func.R,line=171,col=3,[if (length(args_list) > 0) {
|
|
flir:
R/30_news_md_utils.R#L472
file=/Users/runner/work/rpkgkit/rpkgkit/R/30_news_md_utils.R,line=472,col=7,[paste(trailing_ws, collapse = ", ")] toString(.) is more expressive than paste(., collapse = ", ").
|
|
flir:
R/30_news_md_utils.R#L431
file=/Users/runner/work/rpkgkit/rpkgkit/R/30_news_md_utils.R,line=431,col=7,[if (grepl("#[0-9]+", line)) {
|
|
flir:
R/30_news_md_utils.R#L420
file=/Users/runner/work/rpkgkit/rpkgkit/R/30_news_md_utils.R,line=420,col=7,[if (grepl("@[a-zA-Z][a-zA-Z0-9_-]*", line)) {
|
|
flir:
R/30_news_md_utils.R#L381
file=/Users/runner/work/rpkgkit/rpkgkit/R/30_news_md_utils.R,line=381,col=11,[paste(standard_categories[1:4], collapse = ", ")] toString(.) is more expressive than paste(., collapse = ", ").
|
|
flir:
R/21_create_standalone.R#L98
file=/Users/runner/work/rpkgkit/rpkgkit/R/21_create_standalone.R,line=98,col=32,[paste(standalone_head$imports, collapse = ", ")] toString(.) is more expressive than paste(., collapse = ", ").
|