CRAN Package Check Results for Package vectra

Last updated on 2026-09-09 06:51:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.11.8 73.94 353.38 427.32 ERROR
r-devel-linux-x86_64-debian-gcc 0.11.8 67.20 232.31 299.51 ERROR
r-devel-linux-x86_64-fedora-clang 0.11.8 47.00 234.91 281.91 OK
r-devel-linux-x86_64-fedora-gcc 0.11.8 67.00 226.38 293.38 OK
r-devel-windows-x86_64 0.11.8 167.00 454.00 621.00 OK
r-patched-linux-x86_64 0.11.8 94.74 337.52 432.26 OK
r-release-linux-x86_64 0.11.8 96.24 336.12 432.36 OK
r-release-macos-arm64 0.11.8 19.00 86.00 105.00 OK
r-release-macos-x86_64 0.11.8 63.00 344.00 407.00 OK
r-release-windows-x86_64 0.11.8 170.00 389.00 559.00 OK
r-oldrel-macos-arm64 0.11.8 17.00 89.00 106.00 OK
r-oldrel-macos-x86_64 0.11.8 61.00 498.00 559.00 OK
r-oldrel-windows-x86_64 0.11.8 208.00 513.00 721.00 OK

Additional issues

M1mac

Check Details

Version: 0.11.8
Check: examples
Result: ERROR Running examples in ‘vectra-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: contours > ### Title: Extract contour iso-lines from a streamed raster > ### Aliases: contours > > ### ** Examples > > ## Don't show: > if (requireNamespace("sf", quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + z <- outer(1:20, 1:20, function(r, c) r + c) + f <- tempfile(fileext = ".vec") + vec_write_raster(z, f, dtype = "f64", extent = c(0, 0, 20, 20)) + + iso <- contours(f, levels = c(15, 25, 35)) + collect_sf(iso) + unlink(f) + ## Don't show: + }) # examplesIf > z <- outer(1:20, 1:20, function(r, c) r + c) > f <- tempfile(fileext = ".vec") > vec_write_raster(z, f, dtype = "f64", extent = c(0, 0, 20, 20)) > iso <- contours(f, levels = c(15, 25, 35)) Error in st_line_merge.sfc(sf::st_union(geo[ix])) : inherits(x, "sfc_MULTILINESTRING") is not TRUE Calls: withAutoprint ... FUN -> <Anonymous> -> st_line_merge.sfc -> stopifnot Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.11.8
Check: tests
Result: ERROR Running ‘testthat.R’ [195s/256s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(vectra) Attaching package: 'vectra' The following object is masked from 'package:stats': filter The following object is masked from 'package:graphics': grid > > test_check("vectra") Saving _problems/test-contours-21.R Saving _problems/test-contours-43.R Saving _problems/test-contours-56.R Saving _problems/test-contours-71.R vectra query node Columns (3): mpg <double> wt <double> hp <double> <offload grade: replay cache> passes over data : 1 to spill, then O(1) re-reads peak memory : O(one batch) I/O cost : O(n) to write, O(n) per replay note : temp spill, removed when the node is garbage-collected OMP: Warning #96: Cannot form a team with 5 threads, using 3 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Saving _problems/test-spatial-topology-67.R [ FAIL 5 | WARN 9 | SKIP 0 | PASS 3594 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-contours.R:21:3'): contour vertices sample back to their level ── Error in `st_line_merge.sfc(sf::st_union(geo[ix]))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─vectra::collect_sf(contours(f, levels = levs)) at test-contours.R:21:3 2. └─vectra::contours(f, levels = levs) 3. └─base::lapply(parts, function(ix) sf::st_line_merge(sf::st_union(geo[ix]))) 4. └─vectra (local) FUN(X[[i]], ...) 5. ├─sf::st_line_merge(sf::st_union(geo[ix])) 6. └─sf:::st_line_merge.sfc(sf::st_union(geo[ix])) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-contours.R:43:3'): contour total length is invariant to tile size ── Error in `st_line_merge.sfc(sf::st_union(geo[ix]))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─sf::st_length(collect_sf(contours(f1, levs))) at test-contours.R:43:3 2. │ └─sf::st_geometry(x) 3. ├─vectra::collect_sf(contours(f1, levs)) 4. └─vectra::contours(f1, levs) 5. └─base::lapply(parts, function(ix) sf::st_line_merge(sf::st_union(geo[ix]))) 6. └─vectra (local) FUN(X[[i]], ...) 7. ├─sf::st_line_merge(sf::st_union(geo[ix])) 8. └─sf:::st_line_merge.sfc(sf::st_union(geo[ix])) 9. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-contours.R:56:3'): a planar field gives one line per level of the expected length ── Error in `st_line_merge.sfc(sf::st_union(geo[ix]))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─vectra::collect_sf(contours(f, levels = 20)) at test-contours.R:56:3 2. └─vectra::contours(f, levels = 20) 3. └─base::lapply(parts, function(ix) sf::st_line_merge(sf::st_union(geo[ix]))) 4. └─vectra (local) FUN(X[[i]], ...) 5. ├─sf::st_line_merge(sf::st_union(geo[ix])) 6. └─sf:::st_line_merge.sfc(sf::st_union(geo[ix])) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-contours.R:71:3'): merge = FALSE returns the raw per-cell segments ── Error in `st_line_merge.sfc(sf::st_union(geo[ix]))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─vectra::collect_sf(contours(f, levels = 10, merge = TRUE)) at test-contours.R:71:3 2. └─vectra::contours(f, levels = 10, merge = TRUE) 3. └─base::lapply(parts, function(ix) sf::st_line_merge(sf::st_union(geo[ix]))) 4. └─vectra (local) FUN(X[[i]], ...) 5. ├─sf::st_line_merge(sf::st_union(geo[ix])) 6. └─sf:::st_line_merge.sfc(sf::st_union(geo[ix])) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-spatial-topology.R:67:3'): line_merge sews end-to-end segments into one maximal line ── Error in `st_line_merge.sfc(sf::st_union(sf::st_geometry(sb)))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─vectra::collect_sf(spatial_line_merge(tbl(f))) at test-spatial-topology.R:67:3 2. └─vectra::spatial_line_merge(tbl(f)) 3. └─vectra:::.partition_each(...) 4. └─vectra (local) group_fn(df) 5. ├─sf::st_line_merge(sf::st_union(sf::st_geometry(sb))) 6. └─sf:::st_line_merge.sfc(sf::st_union(sf::st_geometry(sb))) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) [ FAIL 5 | WARN 9 | SKIP 0 | PASS 3594 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.11.8
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘coverage-topology.Rmd’ using rmarkdown Quitting from coverage-topology.Rmd:65-75 [line-merge] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `st_line_merge.sfc()`: ! inherits(x, "sfc_MULTILINESTRING") is not TRUE --- Backtrace: ▆ 1. ├─vectra::collect_sf(spatial_line_merge(tbl(g))) 2. └─vectra::spatial_line_merge(tbl(g)) 3. └─vectra:::.partition_each(...) 4. └─vectra (local) group_fn(df) 5. ├─sf::st_line_merge(sf::st_union(sf::st_geometry(sb))) 6. └─sf:::st_line_merge.sfc(sf::st_union(sf::st_geometry(sb))) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'coverage-topology.Rmd' failed with diagnostics: inherits(x, "sfc_MULTILINESTRING") is not TRUE --- failed re-building ‘coverage-topology.Rmd’ --- re-building ‘engine.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘engine.Rmd’ --- re-building ‘formats.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘formats.Rmd’ --- re-building ‘geometry-expressions.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘geometry-expressions.Rmd’ --- re-building ‘indexing.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘indexing.Rmd’ --- re-building ‘joins.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘joins.Rmd’ --- re-building ‘large-data.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘large-data.Rmd’ --- re-building ‘networks.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘networks.Rmd’ --- re-building ‘offload.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘offload.Rmd’ --- re-building ‘quickstart.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘quickstart.Rmd’ --- re-building ‘schema.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘schema.Rmd’ --- re-building ‘sdm.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘sdm.Rmd’ --- re-building ‘spatial.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘spatial.Rmd’ --- re-building ‘streaming-spatial.Rmd’ using rmarkdown OMP: Warning #96: Cannot form a team with 8 threads, using 3 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘streaming-spatial.Rmd’ --- re-building ‘string-ops.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘string-ops.Rmd’ SUMMARY: processing the following file failed: ‘coverage-topology.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.11.8
Check: tests
Result: ERROR Running ‘testthat.R’ [121s/128s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(vectra) Attaching package: 'vectra' The following object is masked from 'package:stats': filter The following object is masked from 'package:graphics': grid > > test_check("vectra") Saving _problems/test-contours-21.R Saving _problems/test-contours-43.R Saving _problems/test-contours-56.R Saving _problems/test-contours-71.R vectra query node Columns (3): mpg <double> wt <double> hp <double> <offload grade: replay cache> passes over data : 1 to spill, then O(1) re-reads peak memory : O(one batch) I/O cost : O(n) to write, O(n) per replay note : temp spill, removed when the node is garbage-collected Spherical geometry (s2) switched off Spherical geometry (s2) switched on Spherical geometry (s2) switched off Spherical geometry (s2) switched on Saving _problems/test-spatial-topology-67.R [ FAIL 5 | WARN 9 | SKIP 0 | PASS 3594 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-contours.R:21:3'): contour vertices sample back to their level ── Error in `st_line_merge.sfc(sf::st_union(geo[ix]))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─vectra::collect_sf(contours(f, levels = levs)) at test-contours.R:21:3 2. └─vectra::contours(f, levels = levs) 3. └─base::lapply(parts, function(ix) sf::st_line_merge(sf::st_union(geo[ix]))) 4. └─vectra (local) FUN(X[[i]], ...) 5. ├─sf::st_line_merge(sf::st_union(geo[ix])) 6. └─sf:::st_line_merge.sfc(sf::st_union(geo[ix])) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-contours.R:43:3'): contour total length is invariant to tile size ── Error in `st_line_merge.sfc(sf::st_union(geo[ix]))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─sf::st_length(collect_sf(contours(f1, levs))) at test-contours.R:43:3 2. │ └─sf::st_geometry(x) 3. ├─vectra::collect_sf(contours(f1, levs)) 4. └─vectra::contours(f1, levs) 5. └─base::lapply(parts, function(ix) sf::st_line_merge(sf::st_union(geo[ix]))) 6. └─vectra (local) FUN(X[[i]], ...) 7. ├─sf::st_line_merge(sf::st_union(geo[ix])) 8. └─sf:::st_line_merge.sfc(sf::st_union(geo[ix])) 9. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-contours.R:56:3'): a planar field gives one line per level of the expected length ── Error in `st_line_merge.sfc(sf::st_union(geo[ix]))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─vectra::collect_sf(contours(f, levels = 20)) at test-contours.R:56:3 2. └─vectra::contours(f, levels = 20) 3. └─base::lapply(parts, function(ix) sf::st_line_merge(sf::st_union(geo[ix]))) 4. └─vectra (local) FUN(X[[i]], ...) 5. ├─sf::st_line_merge(sf::st_union(geo[ix])) 6. └─sf:::st_line_merge.sfc(sf::st_union(geo[ix])) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-contours.R:71:3'): merge = FALSE returns the raw per-cell segments ── Error in `st_line_merge.sfc(sf::st_union(geo[ix]))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─vectra::collect_sf(contours(f, levels = 10, merge = TRUE)) at test-contours.R:71:3 2. └─vectra::contours(f, levels = 10, merge = TRUE) 3. └─base::lapply(parts, function(ix) sf::st_line_merge(sf::st_union(geo[ix]))) 4. └─vectra (local) FUN(X[[i]], ...) 5. ├─sf::st_line_merge(sf::st_union(geo[ix])) 6. └─sf:::st_line_merge.sfc(sf::st_union(geo[ix])) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ── Error ('test-spatial-topology.R:67:3'): line_merge sews end-to-end segments into one maximal line ── Error in `st_line_merge.sfc(sf::st_union(sf::st_geometry(sb)))`: inherits(x, "sfc_MULTILINESTRING") is not TRUE Backtrace: ▆ 1. ├─vectra::collect_sf(spatial_line_merge(tbl(f))) at test-spatial-topology.R:67:3 2. └─vectra::spatial_line_merge(tbl(f)) 3. └─vectra:::.partition_each(...) 4. └─vectra (local) group_fn(df) 5. ├─sf::st_line_merge(sf::st_union(sf::st_geometry(sb))) 6. └─sf:::st_line_merge.sfc(sf::st_union(sf::st_geometry(sb))) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) [ FAIL 5 | WARN 9 | SKIP 0 | PASS 3594 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.11.8
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘coverage-topology.Rmd’ using rmarkdown Quitting from coverage-topology.Rmd:65-75 [line-merge] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `st_line_merge.sfc()`: ! inherits(x, "sfc_MULTILINESTRING") is not TRUE --- Backtrace: ▆ 1. ├─vectra::collect_sf(spatial_line_merge(tbl(g))) 2. └─vectra::spatial_line_merge(tbl(g)) 3. └─vectra:::.partition_each(...) 4. └─vectra (local) group_fn(df) 5. ├─sf::st_line_merge(sf::st_union(sf::st_geometry(sb))) 6. └─sf:::st_line_merge.sfc(sf::st_union(sf::st_geometry(sb))) 7. └─base::stopifnot(inherits(x, "sfc_MULTILINESTRING")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'coverage-topology.Rmd' failed with diagnostics: inherits(x, "sfc_MULTILINESTRING") is not TRUE --- failed re-building ‘coverage-topology.Rmd’ --- re-building ‘engine.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘engine.Rmd’ --- re-building ‘formats.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘formats.Rmd’ --- re-building ‘geometry-expressions.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘geometry-expressions.Rmd’ --- re-building ‘indexing.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘indexing.Rmd’ --- re-building ‘joins.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘joins.Rmd’ --- re-building ‘large-data.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘large-data.Rmd’ --- re-building ‘networks.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘networks.Rmd’ --- re-building ‘offload.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘offload.Rmd’ --- re-building ‘quickstart.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘quickstart.Rmd’ --- re-building ‘schema.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘schema.Rmd’ --- re-building ‘sdm.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘sdm.Rmd’ --- re-building ‘spatial.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘spatial.Rmd’ --- re-building ‘streaming-spatial.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘streaming-spatial.Rmd’ --- re-building ‘string-ops.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘string-ops.Rmd’ SUMMARY: processing the following file failed: ‘coverage-topology.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc