CRAN Package Check Results for Package rcrisp

Last updated on 2026-09-08 03:51:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 4.10 109.14 113.24 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 2.93 77.69 80.62 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.1 75.24 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 82.92 OK
r-devel-windows-x86_64 0.3.1 8.00 134.00 142.00 OK
r-patched-linux-x86_64 0.3.1 4.92 102.00 106.92 OK
r-release-linux-x86_64 0.3.1 4.34 103.01 107.35 OK
r-release-macos-arm64 0.3.1 1.00 34.00 35.00 OK
r-release-macos-x86_64 0.3.1 3.00 159.00 162.00 OK
r-release-windows-x86_64 0.3.1 7.00 137.00 144.00 OK
r-oldrel-macos-arm64 0.3.1 1.00 42.00 43.00 OK
r-oldrel-macos-x86_64 0.3.1 4.00 299.00 303.00 OK
r-oldrel-windows-x86_64 0.3.1 13.00 169.00 182.00 OK

Check Details

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [17s/22s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(rcrisp) > > test_check("rcrisp") Ran 1/1 deferred expressions Linking to GEOS 3.15.0, GDAL 3.13.3, PROJ 9.8.1; sf_use_s2() is TRUE Saving _problems/test-corridor-210.R Saving _problems/test-corridor-248.R Saving _problems/test-corridor-319.R Saving _problems/test-delineate-32.R Saving _problems/test-delineate-59.R Saving _problems/test-delineate-71.R The default `network_buffer` of 3000 m is used for corridor delineation. Saving _problems/test-delineate-83.R The default `network_buffer` of 3000 m is used for corridor delineation. Saving _problems/test-network-275.R Calculating viewpoints from both river edge and river centerline. [ FAIL 8 | WARN 0 | SKIP 6 | PASS 192 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-autotest.R:3:3', 'test-corridor.R:147:3', 'test-network.R:337:3', 'test-riverspace.R:3:3', 'test-valley.R:17:3' • Skipping extended test (1): 'test-extended.R:9:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-corridor.R:210:3'): Capping a corridor with method 'direct' properly closes a polygon ── Error in `st_line_merge.sfc(lines_union)`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. └─rcrisp:::cap_corridor(edges, method = "direct") at test-corridor.R:210:3 2. └─rcrisp:::as_polygon(c(edges, cap_edge_1, cap_edge_2)) 3. ├─sf::st_collection_extract(sf::st_polygonize(sf::st_line_merge(lines_union))) 4. ├─sf::st_polygonize(sf::st_line_merge(lines_union)) 5. ├─sf::st_line_merge(lines_union) 6. └─sf:::st_line_merge.sfc(lines_union) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-corridor.R:247:3'): Capping a corridor with 'shortest_path' uses network paths ── Error in `st_line_merge.sfc(sf::st_union(path))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. └─rcrisp:::cap_corridor(...) at test-corridor.R:247:3 2. └─rcrisp:::shortest_path(network, from = start_pts[1], to = start_pts[2]) 3. ├─sf::st_line_merge(sf::st_union(path)) 4. └─sf:::st_line_merge.sfc(sf::st_union(path)) 5. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-corridor.R:318:3'): The corridor is correcly identified ──────── Error in `st_line_merge.sfc(lines_union)`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. └─rcrisp::delineate_corridor(...) at test-corridor.R:318:3 2. └─rcrisp:::cap_corridor(c(edge_1, edge_2), capping_method, network) 3. └─rcrisp:::as_polygon(c(edges, cap_edge_1, cap_edge_2)) 4. ├─sf::st_collection_extract(sf::st_polygonize(sf::st_line_merge(lines_union))) 5. ├─sf::st_polygonize(sf::st_line_merge(lines_union)) 6. ├─sf::st_line_merge(lines_union) 7. └─sf:::st_line_merge.sfc(lines_union) 8. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-delineate.R:19:3'): Delineate returns all required delineation units ── Error in `st_line_merge.sfc(sf::st_union(path))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-delineate.R:19:3 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. └─rcrisp::delineate(...) 7. └─rcrisp::delineate_corridor(...) 8. └─rcrisp:::corridor_edge(...) 9. └─rcrisp:::shortest_path(network, from = nodes[1], to = nodes[2]) 10. ├─sf::st_line_merge(sf::st_union(path)) 11. └─sf:::st_line_merge.sfc(sf::st_union(path)) 12. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-delineate.R:46:3'): Delineate does not return the valley if the buffer method is used ── Error in `st_line_merge.sfc(sf::st_union(path))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-delineate.R:46:3 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─rcrisp::delineate(...) 5. └─rcrisp::delineate_corridor(...) 6. └─rcrisp:::corridor_edge(...) 7. └─rcrisp:::shortest_path(network, from = nodes[1], to = nodes[2]) 8. ├─sf::st_line_merge(sf::st_union(path)) 9. └─sf:::st_line_merge.sfc(sf::st_union(path)) 10. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-delineate.R:64:3'): If `network_buffer` is not specified, the default value is used ── Error in `st_line_merge.sfc(sf::st_union(path))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-delineate.R:64:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─testthat::with_mocked_bindings(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. └─rcrisp::delineate(...) 11. └─rcrisp::delineate_corridor(...) 12. └─rcrisp:::corridor_edge(...) 13. └─rcrisp:::shortest_path(network, from = nodes[1], to = nodes[2]) 14. ├─sf::st_line_merge(sf::st_union(path)) 15. └─sf:::st_line_merge.sfc(sf::st_union(path)) 16. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-delineate.R:75:3'): If `buildings_buffer` is not specified, the default value is used ── Error in `st_line_merge.sfc(sf::st_union(path))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-delineate.R:75:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─testthat::with_mocked_bindings(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. └─rcrisp::delineate(...) 11. └─rcrisp::delineate_corridor(...) 12. └─rcrisp:::corridor_edge(...) 13. └─rcrisp:::shortest_path(network, from = nodes[1], to = nodes[2]) 14. ├─sf::st_line_merge(sf::st_union(path)) 15. └─sf:::st_line_merge.sfc(sf::st_union(path)) 16. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-network.R:274:3'): Shortest path can reorient edges to return a LINESTRING ── Error in `st_line_merge.sfc(sf::st_union(path))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. └─rcrisp:::shortest_path(...) at test-network.R:274:3 2. ├─sf::st_line_merge(sf::st_union(path)) 3. └─sf:::st_line_merge.sfc(sf::st_union(path)) 4. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) [ FAIL 8 | WARN 0 | SKIP 6 | PASS 192 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc