Skip to content

Rework add coverage to work with raw forecasts #354

Rework add coverage to work with raw forecasts

Rework add coverage to work with raw forecasts #354

Triggered via pull request November 13, 2023 16:06
Status Failure
Total duration 16m 44s
Artifacts

lint.yaml

on: pull_request
lint-changed-files
16m 31s
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/add_coverage.R#L57
file=R/add_coverage.R,line=57,col=40,[redundant_ifelse_linter] Just use the logical condition (or its negation) directly instead of calling ifelse(x, TRUE, FALSE)
lint-changed-files: R/add_coverage.R#L58
file=R/add_coverage.R,line=58,col=4,[indentation_linter] Hanging indent should be 46 spaces but is 4 spaces.
lint-changed-files: R/plot.R#L473
file=R/plot.R,line=473,col=23,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
lint-changed-files: R/plot.R#L971
file=R/plot.R,line=971,col=1,[object_length_linter] Variable and function names should not be longer than 30 characters.
lint-changed-files: R/summarise_scores.R#L114
file=R/summarise_scores.R,line=114,col=7,[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/summarise_scores.R#L115
file=R/summarise_scores.R,line=115,col=7,[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/utils_data_handling.R#L73
file=R/utils_data_handling.R,line=73,col=7,[length_test_linter] Checking the length of a logical vector is likely a mistake. Did you mean `length(basenames_overlap) > 0`?
lint-changed-files: R/utils_data_handling.R#L104
file=R/utils_data_handling.R,line=104,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/utils_data_handling.R#L211
file=R/utils_data_handling.R,line=211,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: vignettes/scoringutils.Rmd#L38
file=vignettes/scoringutils.Rmd,line=38,col=3,[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).