- using R Under development (unstable) (2026-09-06 r90498)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 23.1.0 (2)
Debian flang version 23.1.0 (2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-09-08 11:51:35 UTC
- checking for file ‘vectra/DESCRIPTION’ ... OK
- this is package ‘vectra’ version ‘0.11.8’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [3s/6s] OK
- 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 ... OK
See the install log for details.
- used C compiler: ‘Debian clang version 23.1.0 (2)’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] 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 ... [38s/48s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 use of SHLIB_OPENMP_*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 ... [2s/3s] 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
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [195s/257s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [54s/78s] 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
- checking PDF version of manual ... [11s/16s] OK
- checking HTML version of manual ... [6s/7s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 3 ERRORs