Skip to content

Issue #404: Use na.omit() to remove NA values before scoring #387

Issue #404: Use na.omit() to remove NA values before scoring

Issue #404: Use na.omit() to remove NA values before scoring #387

Triggered via pull request November 21, 2023 08:35
Status Failure
Total duration 13m 0s
Artifacts

lint.yaml

on: pull_request
lint-changed-files
12m 50s
lint-changed-files
Fit to window
Zoom out
Zoom in

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#L240
file=R/score.R,line=240,col=53,[sort_linter] sort(quantile, na.last = TRUE) is better than quantile[order(quantile)].
lint-changed-files: R/score.R#L241
file=R/score.R,line=241,col=70,[sort_linter] sort(quantile, na.last = TRUE) is better than quantile[order(quantile)].
lint-changed-files: R/score.R#L274
file=R/score.R,line=274,col=5,[object_usage_linter] local variable 'metric_name' assigned but may not be used
lint-changed-files: R/score.R#L275
file=R/score.R,line=275,col=5,[object_usage_linter] local variable 'fun' assigned but may not be used
lint-changed-files: R/score.R#L280
file=R/score.R,line=280,col=1,[trailing_blank_lines_linter] Trailing blank lines are superfluous.
lint-changed-files: R/score.R#L281
file=R/score.R,line=281,col=1,[trailing_blank_lines_linter] Trailing blank lines are superfluous.
lint-changed-files: R/score.R#L282
file=R/score.R,line=282,col=1,[trailing_blank_lines_linter] Trailing blank lines are superfluous.