Issue #404: Use na.omit()
to remove NA
values before scoring
#383
Triggered via pull request
November 20, 2023 20:26
Status
Failure
Total duration
12m 55s
Artifacts
–
lint.yaml
on: pull_request
lint-changed-files
12m 47s
Annotations
1 error and 10 warnings
lint-changed-files
Process completed with exit code 31.
|
lint-changed-files:
R/available_forecasts.R#L61
file=R/available_forecasts.R,line=61,col=19,[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-changed-files:
R/pit.R#L128
file=R/pit.R,line=128,col=7,[if_not_else_linter] In a simple if/else statement, prefer `if (A) x else y` to the less-readable `if (!A) y else x`.
|
lint-changed-files:
R/pit.R#L212
file=R/pit.R,line=212,col=24,[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-changed-files:
R/score.R#L234
file=R/score.R,line=234,col=53,[sort_linter] sort(quantile, na.last = TRUE) is better than quantile[order(quantile)].
|
lint-changed-files:
R/score.R#L235
file=R/score.R,line=235,col=70,[sort_linter] sort(quantile, na.last = TRUE) is better than quantile[order(quantile)].
|
lint-changed-files:
R/score.R#L268
file=R/score.R,line=268,col=5,[object_usage_linter] local variable 'metric_name' assigned but may not be used
|
lint-changed-files:
R/score.R#L269
file=R/score.R,line=269,col=5,[object_usage_linter] local variable 'fun' assigned but may not be used
|
lint-changed-files:
R/score.R#L274
file=R/score.R,line=274,col=1,[trailing_blank_lines_linter] Trailing blank lines are superfluous.
|
lint-changed-files:
R/score.R#L275
file=R/score.R,line=275,col=1,[trailing_blank_lines_linter] Trailing blank lines are superfluous.
|
lint-changed-files:
R/score.R#L276
file=R/score.R,line=276,col=1,[trailing_blank_lines_linter] Trailing blank lines are superfluous.
|