Skip to content

Column naming for empty string and duplicate NA label #1834

Column naming for empty string and duplicate NA label

Column naming for empty string and duplicate NA label #1834

Triggered via pull request February 18, 2025 19:41
Status Failure
Total duration 3m 5s
Artifacts

code-quality.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
lint-r
Process completed with exit code 31.
lint-r: R/fcast.R#L139
file=R/fcast.R,line=139,col=12,[nzchar_linter] Use !nzchar(x) instead of x == "". Note that unlike nzchar(), EQ coerces to character, so you'll have to use as.character() if x is a factor. Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
lint-r: R/fcast.R#L139
file=R/fcast.R,line=139,col=44,[trailing_whitespace_linter] Remove trailing whitespace.
lint-r: R/fcast.R#L140
file=R/fcast.R,line=140,col=7,[any_duplicated_linter] anyDuplicated(x, ...) > 0 is better than any(duplicated(x), ...).
lint-r: R/fcast.R#L141
file=R/fcast.R,line=141,col=48,[trailing_whitespace_linter] Remove trailing whitespace.