- using R version 4.4.2 (2024-10-31)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-16) 14.2.0
GNU Fortran (Debian 14.2.0-16) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘dodgr/DESCRIPTION’ ... OK
- this is package ‘dodgr’ version ‘0.4.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 ‘dodgr’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-14 (Debian 14.2.0-16) 14.2.0’
- 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 ... [1s/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 ... [19s/26s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... 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 ... NOTE
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 ... [77s/66s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
dodgr_centrality 6.009 0.438 4.831
dodgr_dists_categorical 5.199 0.353 2.094
dodgr_to_igraph 5.257 0.287 2.252
dodgr_isodists 5.212 0.260 4.508
Examples with CPU time > 2.5 times elapsed time
user system elapsed ratio
dodgr_dists_categorical 5.199 0.353 2.094 2.651
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [66s/60s] ERROR
Running ‘sc-conversion-fns.R’ [0s/0s]
Running ‘testthat.R’ [66s/59s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(dodgr)
>
> test_check("dodgr")
[ FAIL 13 | WARN 0 | SKIP 11 | PASS 229 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• !test_all is TRUE (7): 'test-cache.R:10:1', 'test-centrality.R:7:1',
'test-graph-fns.R:6:1', 'test-iso.R:51:1', 'test-match-pts-fns.R:4:1',
'test-sc.R:6:1', 'test-streetnet.R:129:5'
• On CRAN (4): 'test-cycles.R:3:1', 'test-flows.R:6:1', 'test-save-load.R:3:1',
'test-streetnet.R:196:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-dists-categorical.R:12:5'): categorical dists ────────────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists-categorical.R:97:5'): categorical dists summary ────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists-categorical.R:116:5'): proportions only ────────────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists-categorical.R:144:5'): categorical threshold ───────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists-categorical.R:166:5'): categorical pairwise ────────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists-nearest.R:10:5'): categorical nearest dists ────────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists.R:11:5'): dists ────────────────────────────────────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists.R:79:5'): dists-pairwise ───────────────────────────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists.R:328:5'): graph columns ───────────────────────────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists.R:351:5'): graph columns ───────────────────────────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-dists.R:358:5'): negative weights ────────────────────────────
`graph <- weight_streetnet(hampi)` produced messages.
── Failure ('test-iso.R:17:5'): isodists ───────────────────────────────────────
Expected `net <- weight_streetnet(hsc, wt_profile = "bicycle")` to run without any messages.
ℹ Actually got a <simpleMessage> with text:
Superclass process has cloneable=FALSE, but subclass r_process has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for r_process.
── Error ('test-iso.R:22:5'): isodists ─────────────────────────────────────────
Error in `eval(code, test_env)`: object 'net' not found
Backtrace:
▆
1. └─base::sample(net$.vx0, size = npts) at test-iso.R:22:5
[ FAIL 13 | WARN 0 | SKIP 11 | PASS 229 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [45s/52s] OK
- checking PDF version of manual ... [7s/9s] OK
- checking HTML version of manual ... [3s/5s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE