- using R version 4.3.3 (2024-02-29 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- R was compiled by
gcc.exe (GCC) 12.3.0
GNU Fortran (GCC) 12.3.0
- running under: Windows Server 2022 x64 (build 20348)
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'dodgr' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 12.3.0'
- checking installed package size ... NOTE
installed size is 9.1Mb
sub-directories of 1Mb or more:
doc 6.7Mb
libs 1.7Mb
- 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking startup messages can be suppressed ... [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 ... [16s] 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 ... [1s] 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 pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [82s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [63s] ERROR
Running 'sc-conversion-fns.R' [0s]
Running 'testthat.R' [63s]
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 (6): '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'
• On Windows (1): 'test-cache.R:5:1'
══ 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 in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [50s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [11s] OK
- DONE
Status: 1 ERROR, 2 NOTEs