- using R version 4.6.1 Patched (2026-10-05 r90641)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-3) 16.2.0
GNU Fortran (Debian 16.2.0-3) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-10-07 13:37:10 UTC
- checking for file ‘flowcluster/DESCRIPTION’ ... OK
- this is package ‘flowcluster’ version ‘0.2.1’
- 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 ‘flowcluster’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [3s/5s] OK
- checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [10s/12s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
dbscan_sensitivity 4.458 0.021 6.041
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [13s/15s] ERROR
Running ‘testthat.R’ [13s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(flowcluster)
>
> test_check("flowcluster")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Linking to GEOS 3.15.0, GDAL 3.13.3, PROJ 9.8.1; sf_use_s2() is TRUE
Flows remaining after filtering: 328 (32.8%)
Extracting start and end coordinates from flow geometries...
Adding x, y, u, v columns to flow data...
Assigning unique flow IDs...
Adding coordinates data back onto the unique pairs ...
Adding coordinates data back onto the unique pairs ...
Adding coordinates data back onto the unique pairs ...
Adding coordinates data back onto the unique pairs ...
Adding coordinates data back onto the unique pairs ...
running dbscan for option 1 of 12 : eps = 1 | minpts = 0
Saving _problems/test-clustering-72.R
udunits database from /usr/share/xml/udunits/udunits2.xml
Linking to liblwgeom 3.0.0beta1 r16016, GEOS 3.15.0, PROJ 9.8.1
Attaching package: 'lwgeom'
The following objects are masked from 'package:sf':
st_minimum_bounding_circle, st_perimeter
Flows remaining after filtering: 854 (8.29%)
Flows remaining after filtering: 0 (0%)
Flows remaining after filtering: 854 (8.29%)
Flows remaining after filtering: 0 (0%)
Flows remaining after filtering: 854 (8.29%)
Extracting start and end coordinates from flow geometries...
Adding x, y, u, v columns to flow data...
Assigning unique flow IDs...
Flows remaining after filtering: 23 (11.5%)
Extracting start and end coordinates from flow geometries...
Adding x, y, u, v columns to flow data...
Assigning unique flow IDs...
Flows remaining after filtering: 23 (11.5%)
Extracting start and end coordinates from flow geometries...
Adding x, y, u, v columns to flow data...
Assigning unique flow IDs...
Flows remaining after filtering: 10 (10%)
Extracting start and end coordinates from flow geometries...
Adding x, y, u, v columns to flow data...
Assigning unique flow IDs...
[ FAIL 1 | WARN 84 | SKIP 0 | PASS 63 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-clustering.R:66:3'): dbscan_sensitivity: runs without error ────
Error: minPts must be a single, finite, integer-valued number >= 1.
Backtrace:
▆
1. └─flowcluster::dbscan_sensitivity(...) at test-clustering.R:66:3
2. └─flowcluster::cluster_flows_dbscan(...)
3. └─dbscan::dbscan(x = dist_mat, eps = eps, minPts = minPts, weights = w_vec)
4. └─dbscan:::.validate_integer_scalar(minPts, "minPts")
[ FAIL 1 | WARN 84 | SKIP 0 | PASS 63 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/7s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR