Last updated on 2025-01-09 04:49:26 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.4.4 | ERROR | ||||
r-devel-linux-x86_64-debian-gcc | 0.4.4 | 33.40 | 288.88 | 322.28 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.4.4 | 838.07 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.4.4 | 487.74 | ERROR | |||
r-devel-windows-x86_64 | 0.4.4 | 49.00 | 481.00 | 530.00 | ERROR | |
r-patched-linux-x86_64 | 0.4.4 | 49.10 | 421.01 | 470.11 | OK | |
r-release-linux-x86_64 | 0.4.4 | 46.54 | 416.14 | 462.68 | OK | |
r-release-macos-arm64 | 0.4.4 | 195.00 | OK | |||
r-release-macos-x86_64 | 0.4.4 | 336.00 | OK | |||
r-release-windows-x86_64 | 0.4.4 | 48.00 | 492.00 | 540.00 | OK | |
r-oldrel-macos-arm64 | 0.4.4 | 201.00 | OK | |||
r-oldrel-macos-x86_64 | 0.4.4 | 430.00 | OK | |||
r-oldrel-windows-x86_64 | 0.4.4 | 62.00 | 568.00 | 630.00 | ERROR |
Version: 0.4.4
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
MPG.Rd: igraph, projectRaster
corridor.Rd: SpatialPoints
distance.Rd: SpatialPoints
export.Rd: writeFormats
ggGS.Rd: ggplot
goc-class.Rd: igraph
grainscape-deprecated.Rd: SpatialPolygonsDataFrame, SpatialPoints
patchFilter.Rd: clump
plot.Rd: ggplot
point.Rd: SpatialPoints
theme_grainscape.Rd: ggplot2, ggplot
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64
Version: 0.4.4
Check: tests
Result: ERROR
Running ‘test-all.R’ [27s/35s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> library(testthat)
> test_check("grainscape")
Loading required package: grainscape
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Traceback:
1: shortest_paths(x@th[[whichThresh]]$goc, which(V(x@th[[whichThresh]]$goc)$polygonId == na.omit(startEndPolygons[1])), which(V(x@th[[whichThresh]]$goc)$polygonId == na.omit(startEndPolygons[2])), weights = V(x@th[[whichThresh]]$goc)$meanWeight)
2: .local(x, ...)
3: corridor(goc, whichThresh = 2, coordSomeNA)
4: corridor(goc, whichThresh = 2, coordSomeNA)
5: eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6: withCallingHandlers(code, warning = function(condition) { if (ignore_deprecation && is_deprecation(condition)) { return() } out$push(condition) maybe_restart("muffleWarning")})
7: .capture(act$val <- eval_bare(quo_get_expr(.quo), quo_get_env(.quo)), ...)
8: quasi_capture(enquo(object), label, capture_warnings, ignore_deprecation = identical(regexp, NA))
9: expect_warning(corridorSomeNA <- corridor(goc, whichThresh = 2, coordSomeNA))
10: eval(code, test_env)
11: eval(code, test_env)
12: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error)
13: doTryCatch(return(expr), name, parentenv, handler)
14: tryCatchOne(expr, names, parentenv, handlers[[1L]])
15: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
16: doTryCatch(return(expr), name, parentenv, handler)
17: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
18: tryCatchList(expr, classes, parentenv, handlers)
19: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { })
20: test_code(desc, code, env = parent.frame(), reporter = reporter)
21: test_that("corridor handles NA values", { cost <- .makeRaster(100, 5) mpg <- MPG(cost, cost == 1) goc <- GOC(mpg, nThresh = 5) coordNoneNA <- rbind(c(10, 10), c(90, 90)) coordSomeNA <- rbind(c(2, 2), c(90, 90)) coordAllNA <- rbind(c(2, 2), c(98, 98)) expect_warning(corridorNoneNA <- corridor(goc, whichThresh = 2, coordNoneNA), NA) expect_warning(corridorSomeNA <- corridor(goc, whichThresh = 2, coordSomeNA)) expect_error(corridorAllNA <- corridor(goc, whichThresh = 2, coordAllNA))})
22: eval(code, test_env)
23: eval(code, test_env)
24: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error)
25: doTryCatch(return(expr), name, parentenv, handler)
26: tryCatchOne(expr, names, parentenv, handlers[[1L]])
27: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
28: doTryCatch(return(expr), name, parentenv, handler)
29: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
30: tryCatchList(expr, classes, parentenv, handlers)
31: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { })
32: test_code(test = NULL, code = exprs, env = env, reporter = get_reporter() %||% StopReporter$new())
33: source_file(path, env = env(env), desc = desc, error_call = error_call)
34: FUN(X[[i]], ...)
35: lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call)
36: doTryCatch(return(expr), name, parentenv, handler)
37: tryCatchOne(expr, names, parentenv, handlers[[1L]])
38: tryCatchList(expr, classes, parentenv, handlers)
39: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL})
40: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call))
41: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, error_call = error_call)
42: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel)
43: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed")
44: test_check("grainscape")
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.4.4
Check: tests
Result: ERROR
Running ‘test-all.R’ [33s/38s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> library(testthat)
> test_check("grainscape")
Loading required package: grainscape
Writing layer `nodes' to data source
`/tmp/RtmpCLluZq/tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 28 features with 5 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`/tmp/RtmpCLluZq/tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 59 features with 15 fields and geometry type Line String.
Writing layer `nodes' to data source
`/tmp/RtmpCLluZq/tiny_mpg' using driver `ESRI Shapefile'
Writing 43 features with 4 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`/tmp/RtmpCLluZq/tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 12 fields and geometry type Line String.
Writing layer `linksPerim' to data source
`/tmp/RtmpCLluZq/tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 8 fields and geometry type Line String.
IGRAPH 6ab443a UN-- 43 89 --
+ attr: name (v/c), patchId (v/n), patchArea (v/n), patchEdgeArea
| (v/n), coreArea (v/n), centroidX (v/n), centroidY (v/n), linkId
| (e/n), lcpPerimWeight (e/n), startPerimX (e/n), startPerimY (e/n),
| endPerimX (e/n), endPerimY (e/n)
+ edges from 6ab443a (vertex names):
[1] 62 --74 30 --41 30 --40 7 --22 5 --7 80 --86 73 --78 29 --31
[9] 19 --29 67 --85 41 --48 40 --41 37 --41 8 --28 9 --12 12 --14
[17] 30 --48 8 --9 48 --54 95 --103 62 --64 5 --22 32 --37 74 --84
[25] 55 --56 5 --32 9 --28 68 --80 14 --19 30 --54 5 --37 54 --55
[33] 64 --74 86 --100 100--107 41 --50 56 --76 56 --61 103--105 9 --14
+ ... omitted several edges
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-corridor-distance-point.R:31:3'): corridor handles NA values ───
Error in `shortest_paths(x@th[[whichThresh]]$goc, which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[1])), which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[2])), weights = V(x@th[[whichThresh]]$goc)$meanWeight)`: At rinterface_extra.c:138 : Wrong index. Attempt to get element with index 0 from vector of length 0. Invalid value
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-corridor-distance-point.R:31:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
7. └─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
8. └─grainscape (local) .local(x, ...)
9. └─igraph::shortest_paths(...)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.4
Check: tests
Result: ERROR
Running ‘test-all.R’ [99s/187s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> library(testthat)
> test_check("grainscape")
Loading required package: grainscape
Writing layer `nodes' to data source
`/tmp/RtmpIQw8Yk/working_dir/Rtmpoxq1nG/tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 28 features with 5 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`/tmp/RtmpIQw8Yk/working_dir/Rtmpoxq1nG/tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 59 features with 15 fields and geometry type Line String.
Writing layer `nodes' to data source
`/tmp/RtmpIQw8Yk/working_dir/Rtmpoxq1nG/tiny_mpg' using driver `ESRI Shapefile'
Writing 43 features with 4 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`/tmp/RtmpIQw8Yk/working_dir/Rtmpoxq1nG/tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 12 fields and geometry type Line String.
Writing layer `linksPerim' to data source
`/tmp/RtmpIQw8Yk/working_dir/Rtmpoxq1nG/tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 8 fields and geometry type Line String.
IGRAPH 5f1fa74 UN-- 43 89 --
+ attr: name (v/c), patchId (v/n), patchArea (v/n), patchEdgeArea
| (v/n), coreArea (v/n), centroidX (v/n), centroidY (v/n), linkId
| (e/n), lcpPerimWeight (e/n), startPerimX (e/n), startPerimY (e/n),
| endPerimX (e/n), endPerimY (e/n)
+ edges from 5f1fa74 (vertex names):
[1] 62 --74 30 --41 30 --40 7 --22 5 --7 80 --86 73 --78 29 --31
[9] 19 --29 67 --85 41 --48 40 --41 37 --41 8 --28 9 --12 12 --14
[17] 30 --48 8 --9 48 --54 95 --103 62 --64 5 --22 32 --37 74 --84
[25] 55 --56 5 --32 9 --28 68 --80 14 --19 30 --54 5 --37 54 --55
[33] 64 --74 86 --100 100--107 41 --50 56 --76 56 --61 103--105 9 --14
+ ... omitted several edges
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-corridor-distance-point.R:31:3'): corridor handles NA values ───
Error in `shortest_paths(x@th[[whichThresh]]$goc, which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[1])), which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[2])), weights = V(x@th[[whichThresh]]$goc)$meanWeight)`: At rinterface_extra.c:138 : Wrong index. Attempt to get element with index 0 from vector of length 0. Invalid value
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-corridor-distance-point.R:31:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
7. └─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
8. └─grainscape (local) .local(x, ...)
9. └─igraph::shortest_paths(...)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.4.4
Check: tests
Result: ERROR
Running ‘test-all.R’ [49s/49s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> library(testthat)
> test_check("grainscape")
Loading required package: grainscape
Writing layer `nodes' to data source
`/tmp/Rtmp9BWJDe/working_dir/RtmpfxqEsV/tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 28 features with 5 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`/tmp/Rtmp9BWJDe/working_dir/RtmpfxqEsV/tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 59 features with 15 fields and geometry type Line String.
Writing layer `nodes' to data source
`/tmp/Rtmp9BWJDe/working_dir/RtmpfxqEsV/tiny_mpg' using driver `ESRI Shapefile'
Writing 43 features with 4 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`/tmp/Rtmp9BWJDe/working_dir/RtmpfxqEsV/tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 12 fields and geometry type Line String.
Writing layer `linksPerim' to data source
`/tmp/Rtmp9BWJDe/working_dir/RtmpfxqEsV/tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 8 fields and geometry type Line String.
IGRAPH f49cb9a UN-- 43 89 --
+ attr: name (v/c), patchId (v/n), patchArea (v/n), patchEdgeArea
| (v/n), coreArea (v/n), centroidX (v/n), centroidY (v/n), linkId
| (e/n), lcpPerimWeight (e/n), startPerimX (e/n), startPerimY (e/n),
| endPerimX (e/n), endPerimY (e/n)
+ edges from f49cb9a (vertex names):
[1] 62 --74 30 --41 30 --40 7 --22 5 --7 80 --86 73 --78 29 --31
[9] 19 --29 67 --85 41 --48 40 --41 37 --41 8 --28 9 --12 12 --14
[17] 30 --48 8 --9 48 --54 95 --103 62 --64 5 --22 32 --37 74 --84
[25] 55 --56 5 --32 9 --28 68 --80 14 --19 30 --54 5 --37 54 --55
[33] 64 --74 86 --100 100--107 41 --50 56 --76 56 --61 103--105 9 --14
+ ... omitted several edges
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-corridor-distance-point.R:31:3'): corridor handles NA values ───
Error in `shortest_paths(x@th[[whichThresh]]$goc, which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[1])), which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[2])), weights = V(x@th[[whichThresh]]$goc)$meanWeight)`: At rinterface_extra.c:138 : Wrong index. Attempt to get element with index 0 from vector of length 0. Invalid value
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-corridor-distance-point.R:31:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
7. └─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
8. └─grainscape (local) .local(x, ...)
9. └─igraph::shortest_paths(...)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.4.4
Check: tests
Result: ERROR
Running 'test-all.R' [47s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
> library(testthat)
> test_check("grainscape")
Loading required package: grainscape
Writing layer `nodes' to data source
`D:\temp\2025_01_08_01_50_00_5874\Rtmp0IUckS\tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 28 features with 5 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`D:\temp\2025_01_08_01_50_00_5874\Rtmp0IUckS\tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 59 features with 15 fields and geometry type Line String.
Writing layer `nodes' to data source
`D:\temp\2025_01_08_01_50_00_5874\Rtmp0IUckS\tiny_mpg' using driver `ESRI Shapefile'
Writing 43 features with 4 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`D:\temp\2025_01_08_01_50_00_5874\Rtmp0IUckS\tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 12 fields and geometry type Line String.
Writing layer `linksPerim' to data source
`D:\temp\2025_01_08_01_50_00_5874\Rtmp0IUckS\tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 8 fields and geometry type Line String.
IGRAPH db752bd UN-- 43 89 --
+ attr: name (v/c), patchId (v/n), patchArea (v/n), patchEdgeArea
| (v/n), coreArea (v/n), centroidX (v/n), centroidY (v/n), linkId
| (e/n), lcpPerimWeight (e/n), startPerimX (e/n), startPerimY (e/n),
| endPerimX (e/n), endPerimY (e/n)
+ edges from db752bd (vertex names):
[1] 62 --74 30 --41 30 --40 7 --22 5 --7 80 --86 73 --78 29 --31
[9] 19 --29 67 --85 41 --48 40 --41 37 --41 8 --28 9 --12 12 --14
[17] 30 --48 8 --9 48 --54 95 --103 62 --64 5 --22 32 --37 74 --84
[25] 55 --56 5 --32 9 --28 68 --80 14 --19 30 --54 5 --37 54 --55
[33] 64 --74 86 --100 100--107 41 --50 56 --76 56 --61 103--105 9 --14
+ ... omitted several edges
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-corridor-distance-point.R:31:3'): corridor handles NA values ───
Error in `shortest_paths(x@th[[whichThresh]]$goc, which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[1])), which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[2])), weights = V(x@th[[whichThresh]]$goc)$meanWeight)`: At rinterface_extra.c:138 : Wrong index. Attempt to get element with index 0 from vector of length 0. Invalid value
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-corridor-distance-point.R:31:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
7. └─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
8. └─grainscape (local) .local(x, ...)
9. └─igraph::shortest_paths(...)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.4.4
Check: tests
Result: ERROR
Running 'test-all.R' [63s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
> library(testthat)
> test_check("grainscape")
Loading required package: grainscape
Writing layer `nodes' to data source
`D:\temp\2025_01_08_01_50_00_5874\RtmpSuIMik\tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 28 features with 5 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`D:\temp\2025_01_08_01_50_00_5874\RtmpSuIMik\tiny_goc_thresh2' using driver `ESRI Shapefile'
Writing 59 features with 15 fields and geometry type Line String.
Writing layer `nodes' to data source
`D:\temp\2025_01_08_01_50_00_5874\RtmpSuIMik\tiny_mpg' using driver `ESRI Shapefile'
Writing 43 features with 4 fields and geometry type Point.
Writing layer `linksCentroid' to data source
`D:\temp\2025_01_08_01_50_00_5874\RtmpSuIMik\tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 12 fields and geometry type Line String.
Writing layer `linksPerim' to data source
`D:\temp\2025_01_08_01_50_00_5874\RtmpSuIMik\tiny_mpg' using driver `ESRI Shapefile'
Writing 93 features with 8 fields and geometry type Line String.
IGRAPH 0859aba UN-- 43 89 --
+ attr: name (v/c), patchId (v/n), patchArea (v/n), patchEdgeArea
| (v/n), coreArea (v/n), centroidX (v/n), centroidY (v/n), linkId
| (e/n), lcpPerimWeight (e/n), startPerimX (e/n), startPerimY (e/n),
| endPerimX (e/n), endPerimY (e/n)
+ edges from 0859aba (vertex names):
[1] 62 --74 30 --41 30 --40 7 --22 5 --7 80 --86 73 --78 29 --31
[9] 19 --29 67 --85 41 --48 40 --41 37 --41 8 --28 9 --12 12 --14
[17] 30 --48 8 --9 48 --54 95 --103 62 --64 5 --22 32 --37 74 --84
[25] 55 --56 5 --32 9 --28 68 --80 14 --19 30 --54 5 --37 54 --55
[33] 64 --74 86 --100 100--107 41 --50 56 --76 56 --61 103--105 9 --14
+ ... omitted several edges
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-corridor-distance-point.R:31:3'): corridor handles NA values ───
Error in `shortest_paths(x@th[[whichThresh]]$goc, which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[1])), which(V(x@th[[whichThresh]]$goc)$polygonId ==
na.omit(startEndPolygons[2])), weights = V(x@th[[whichThresh]]$goc)$meanWeight)`: At rinterface_extra.c:138 : Wrong index. Attempt to get element with index 0 from vector of length 0. Invalid value
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-corridor-distance-point.R:31:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
7. └─grainscape::corridor(goc, whichThresh = 2, coordSomeNA)
8. └─grainscape (local) .local(x, ...)
9. └─igraph::shortest_paths(...)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 81 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64