CRAN Package Check Results for Package rcrisp

Last updated on 2025-12-03 05:50:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 3.77 104.91 108.68 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 3.14 73.09 76.23 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 20.00 157.97 177.97 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 26.00 174.68 200.68 OK
r-devel-windows-x86_64 0.3.1 7.00 408.00 415.00 OK
r-patched-linux-x86_64 0.3.1 5.63 97.39 103.02 OK
r-release-linux-x86_64 0.3.1 4.06 97.60 101.66 OK
r-release-macos-arm64 0.3.1 1.00 42.00 43.00 OK
r-release-macos-x86_64 0.3.1 8.00 295.00 303.00 OK
r-release-windows-x86_64 0.3.1 8.00 135.00 143.00 OK
r-oldrel-macos-arm64 0.3.1 1.00 43.00 44.00 OK
r-oldrel-macos-x86_64 0.3.1 13.00 ERROR
r-oldrel-windows-x86_64 0.3.1 8.00 145.00 153.00 ERROR

Check Details

Version: 0.3.1
Check: package dependencies
Result: ERROR Package required but not available: ‘osmdata’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-oldrel-macos-x86_64

Version: 0.3.1
Check: examples
Result: ERROR Running examples in 'rcrisp-Ex.R' failed The error most likely occurred in: > ### Name: reproject > ### Title: Reproject a raster or vector dataset to the specified coordinate > ### reference system (CRS) > ### Aliases: reproject > > ### ** Examples > > # Reproject a raster to EPSG:4326 > r <- terra::rast(matrix(1:12, nrow = 3, ncol = 4), crs = "EPSG:32633") Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Error: [rast] empty srs Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.3.1
Check: tests
Result: ERROR Running 'testthat.R' [20s] 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 Saving _problems/test-cache-81.R Saving _problems/test-cache-90.R Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE Saving _problems/test-delineate-4.R Saving _problems/test-utils-192.R Saving _problems/test-utils-266.R Saving _problems/test-utils-305.R Calculating viewpoints from both river edge and river centerline. Saving _problems/test-valley-46.R Saving _problems/test-valley-79.R Saving _problems/test-valley-110.R [ FAIL 9 | WARN 9 | SKIP 6 | PASS 178 ] ══ 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-cache.R:81:3'): Cached objects can be properly read ──────────── Error: [rast] empty srs Backtrace: ▆ 1. └─rcrisp:::read_data_from_cache(filepath, unwrap = TRUE, quiet = TRUE) at test-cache.R:81:3 2. ├─terra::unwrap(data) 3. └─terra::unwrap(data) 4. └─terra (local) .local(x, ...) 5. ├─base::eval(parse(text = x@definition)) 6. │ └─base::eval(parse(text = x@definition)) 7. ├─terra::rast(...) 8. └─terra::rast(...) 9. └─terra (local) .local(x = x, ...) 10. └─terra:::new_rast(...) 11. └─terra:::messages(r, "rast") 12. └─terra:::error(f, x@pntr$getError()) ── Error ('test-cache.R:89:3'): Objects can be properly saved to cache ───────── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::rast(...) at test-cache.R:89:3 2. └─terra::rast(...) 3. └─terra (local) .local(x = x, ...) 4. └─terra:::new_rast(...) 5. └─terra:::messages(r, "rast") 6. └─terra:::error(f, x@pntr$getError()) ── Error ('test-delineate.R:2:1'): (code run outside of `test_that()`) ───────── Error: [rast] empty srs Backtrace: ▆ 1. └─rcrisp:::get_test_dem_valley(...) at test-delineate.R:2:1 2. ├─terra::crs(sf::st_crs(river)$input) at ./helper-valley.R:15:3 3. └─terra::crs(sf::st_crs(river)$input) 4. └─terra (local) .local(x, ...) 5. ├─terra::rast(crs = x) 6. └─terra::rast(crs = x) 7. └─terra (local) .local(x = x, ...) 8. └─terra:::new_rast(...) 9. └─terra:::messages(r, "rast") 10. └─terra:::error(f, x@pntr$getError()) ── Error ('test-utils.R:191:3'): reproject works with raster data ────────────── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::rast(...) at test-utils.R:191:3 2. └─terra::rast(...) 3. └─terra (local) .local(x = x, ...) 4. └─terra:::new_rast(...) 5. └─terra:::messages(r, "rast") 6. └─terra:::error(f, x@pntr$getError()) ── Error ('test-utils.R:265:13'): the original coorindates of a raster can be recovered after reprojection within reasonable numeric tolerance ── Error: [rast] empty srs Backtrace: ▆ 1. ├─terra::rast(...) at test-utils.R:265:13 2. └─terra::rast(...) 3. └─terra (local) .local(x = x, ...) 4. └─terra:::new_rast(...) 5. └─terra:::messages(r, "rast") 6. └─terra:::error(f, x@pntr$getError()) ── Error ('test-utils.R:304:5'): load_raster correctly retrieve and merge local data ── Error: [rast] empty srs Backtrace: ▆ 1. ├─withr::with_file(...) at test-utils.R:312:3 2. │ └─withr:::names2(file) 3. └─rcrisp (local) write_local_raster("r1.tif", 1, 4, 1, 4) 4. ├─terra::rast(...) at test-utils.R:304:5 5. └─terra::rast(...) 6. └─terra (local) .local(x = x, ...) 7. └─terra:::new_rast(...) 8. └─terra:::messages(r, "rast") 9. └─terra:::error(f, x@pntr$getError()) ── Error ('test-valley.R:46:3'): Download DEM data can be retrieved from the cache on new calls ── Error: [rast] empty srs Backtrace: ▆ 1. └─rcrisp:::get_test_dem_valley(river) at test-valley.R:46:3 2. ├─terra::crs(sf::st_crs(river)$input) at ./helper-valley.R:15:3 3. └─terra::crs(sf::st_crs(river)$input) 4. └─terra (local) .local(x, ...) 5. ├─terra::rast(crs = x) 6. └─terra::rast(crs = x) 7. └─terra (local) .local(x = x, ...) 8. └─terra:::new_rast(...) 9. └─terra:::messages(r, "rast") 10. └─terra:::error(f, x@pntr$getError()) ── Error ('test-valley.R:76:3'): valley polygon is correctly constructed ─────── Error: [rast] empty srs Backtrace: ▆ 1. └─rcrisp:::get_test_dem_valley(...) at test-valley.R:76:3 2. ├─terra::crs(sf::st_crs(river)$input) at ./helper-valley.R:15:3 3. └─terra::crs(sf::st_crs(river)$input) 4. └─terra (local) .local(x, ...) 5. ├─terra::rast(crs = x) 6. └─terra::rast(crs = x) 7. └─terra (local) .local(x = x, ...) 8. └─terra:::new_rast(...) 9. └─terra:::messages(r, "rast") 10. └─terra:::error(f, x@pntr$getError()) ── Error ('test-valley.R:110:3'): Mismatch between DEM CRS and river CRS throws error ── Error: [rast] empty srs Backtrace: ▆ 1. └─rcrisp:::get_test_dem_valley(river) at test-valley.R:110:3 2. ├─terra::crs(sf::st_crs(river)$input) at ./helper-valley.R:15:3 3. └─terra::crs(sf::st_crs(river)$input) 4. └─terra (local) .local(x, ...) 5. ├─terra::rast(crs = x) 6. └─terra::rast(crs = x) 7. └─terra (local) .local(x = x, ...) 8. └─terra:::new_rast(...) 9. └─terra:::messages(r, "rast") 10. └─terra:::error(f, x@pntr$getError()) [ FAIL 9 | WARN 9 | SKIP 6 | PASS 178 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

mirror server hosted at Truenetwork, Russian Federation.