* using log directory ‘/Users/ripley/R/packages/tests-devel/vectra.Rcheck’ * using R Under development (unstable) (2026-09-07 r90503) * using platform: aarch64-apple-darwin25.6.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.1.1.101) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.6.2 * using session charset: UTF-8 * current time: 2026-09-08 15:14:48 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘vectra/DESCRIPTION’ ... OK * this is package ‘vectra’ version ‘0.11.8’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘vectra’ can be installed ... [27s/28s] OK * used C compiler: ‘Apple clang version 21.0.0 (clang-2100.1.1.101)’ * used SDK: ‘MacOSX26.5.sdk’ * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... INFO GNU make is a SystemRequirements. * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘vectra-Ex.R’ failed The error most likely occurred in: > ### 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 -> -> st_line_merge.sfc -> stopifnot Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [50s/51s] [50s/51s] ERROR 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 wt hp 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 0 | 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 0 | SKIP 0 | PASS 3594 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [23s/26s] ERROR Error(s) in re-building vignettes: --- re-building ‘coverage-topology.Rmd’ using rmarkdown Quitting from coverage-topology.Rmd:65-75 [line-merge] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 3 ERRORs See ‘/Users/ripley/R/packages/tests-devel/vectra.Rcheck/00check.log’ for details. 140.61 real 107.32 user 26.46 sys