Skip to content

update CI workflows #523

update CI workflows

update CI workflows #523

Triggered via push November 6, 2024 22:57
Status Failure
Total duration 1m 50s
Artifacts

lintr.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
lint
Process completed with exit code 31.
lint
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
lint: R/geocodePL_get.R#L84
file=R/geocodePL_get.R,line=84,col=9,[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: R/models3D_download.R#L67
file=R/models3D_download.R,line=67,col=25,[redundant_equals_linter] Using == on a logical vector is redundant. Well-named logical vectors can be used directly in filtering. For data.table's `i` argument, wrap the column name in (), like `DT[(is_treatment)]`.
lint: R/pointDTM_get.R#L94
file=R/pointDTM_get.R,line=94,col=18,[paste_linter] Construct file paths with file.path(...) instead of paste0(x, "/", y, "/", z). Note that paste() converts empty inputs to "", whereas file.path() leaves it empty.
lint: R/pointDTM_get.R#L103
file=R/pointDTM_get.R,line=103,col=15,[scalar_in_linter] Use == to match length-1 scalars, not %in%. Note that == preserves NA where %in% does not.
lint: R/tile_download.R#L54
file=R/tile_download.R,line=54,col=18,[paste_linter] Construct file paths with file.path(...) instead of paste0(x, "/", y, "/", z). Note that paste() converts empty inputs to "", whereas file.path() leaves it empty.
lint: R/tile_download.R#L57
file=R/tile_download.R,line=57,col=16,[paste_linter] Construct file paths with file.path(...) instead of paste0(x, "/", y, "/", z). Note that paste() converts empty inputs to "", whereas file.path() leaves it empty.
lint: R/utils.R#L17
file=R/utils.R,line=17,col=17,[nonportable_path_linter] Use file.path() to construct portable file paths.
lint: tests/testthat/test-DEM_request.R#L8
file=tests/testthat/test-DEM_request.R,line=8,col=29,[nonportable_path_linter] Use file.path() to construct portable file paths.
lint: tests/testthat/test-DEM_request.R#L13
file=tests/testthat/test-DEM_request.R,line=13,col=5,[class_equals_linter] Instead of comparing class(x) with ==, use inherits(x, 'class-name') or is.<class> or is(x, 'class')
lint: tests/testthat/test-geocodePL_get.R#L22
file=tests/testthat/test-geocodePL_get.R,line=22,col=12,[nonportable_path_linter] Use file.path() to construct portable file paths.