- using R version 4.6.0 RC (2026-04-22 r89945 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-04-23 11:11:00 UTC
- checking for file 'sfnetworks/DESCRIPTION' ... OK
- this is package 'sfnetworks' version '0.6.5'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'sfnetworks' can be installed ... OK
See the install log for details.
- 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 ... [4s] OK
- checking whether the package can be loaded with stated dependencies ... [4s] OK
- checking whether the package can be unloaded cleanly ... [3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s] OK
- checking whether the namespace can be unloaded cleanly ... [4s] OK
- checking loading without being on the library search path ... [2s] OK
- checking whether startup messages can be suppressed ... [4s] 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 ... [13s] OK
- checking Rd files ... [1s] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [18s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [23s] ERROR
Running 'testthat.R' [23s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(sfnetworks)
>
> test_check("sfnetworks")
Saving _problems/test_paths-45.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 276 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_paths.R:41:3'): Only the first from argument
is used for shortest paths calculations ──
Error in `all_shortest_paths(x, from, to, weights = weights, ...)`: `from` must specify exactly one vertex
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test_paths.R:41: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. ├─sfnetworks::st_network_paths(...)
7. └─sfnetworks:::st_network_paths.sfnetwork(...)
8. └─sfnetworks:::get_all_shortest_paths(...)
9. └─igraph::all_shortest_paths(x, from, to, weights = weights, ...)
10. └─igraph:::get_all_shortest_paths_dijkstra_impl(...)
11. └─cli::cli_abort(...)
12. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 276 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [73s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [8s] OK
- DONE
Status: 1 ERROR