* using log directory 'd:/RCompile/CRANincoming/R-devel/SpaDES.core.Rcheck' * using R Under development (unstable) (2026-01-07 r89288 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 * checking for file 'SpaDES.core/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'SpaDES.core' version '3.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [11s] INFO Maintainer: 'Eliot J B McIntire ' Suggests or Enhances not in mainstream repositories: NLMR Availability using Additional_repositories specification: NLMR yes https://predictiveecology.r-universe.dev/ * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: 'NLMR' * 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 'SpaDES.core' can be installed ... OK * checking installed package size ... OK * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... [44s] OK * checking Rd files ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [23s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [29s] ERROR Running 'test-all.R' [28s] Running the tests in 'tests/test-all.R' failed. Complete output: > library(testthat) > withr::local_options(spades.debug = FALSE) > > ## run all tests using different combinations of env vars > if (nzchar(Sys.getenv("NOT_CRAN")) && as.logical(Sys.getenv("NOT_CRAN"))) { + withr::local_options(spades.useBox = FALSE) + # Sys.setenv(R_REPRODUCIBLE_USE_DBI = "false") + test_check("SpaDES.core") + } else { + test_check("SpaDES.core") + } Loading required package: SpaDES.core Loading required package: quickPlot Loading required package: reproducible Attaching package: 'SpaDES.core' The following objects are masked from 'package:stats': end, start The following object is masked from 'package:utils': citation trying URL 'https://img.shields.io/badge/Made%20with-Markdown-1f425f.png' Content type 'image/png' length 2664 bytes ================================================== downloaded 2664 bytes [ FAIL 1 | WARN 1 | SKIP 56 | PASS 244 ] ══ Skipped tests (56) ══════════════════════════════════════════════════════════════════════════════════════════════════ • {NLMR} is not installed (24): 'test-cache.R:163:3', 'test-cache.R:583:3', 'test-cache.R:630:3', 'test-cache.R:687:3', 'test-conditionalEvents.R:5:3', 'test-load.R:2:3', 'test-load.R:205:3', 'test-multipleModulePaths.R:4:3', 'test-objectSynonyms.R:2:3', 'test-paths.R:2:3', 'test-Plots.R:119:3', 'test-save.R:162:3', 'test-save.R:283:3', 'test-simList.R:2:3', 'test-simList.R:385:3', 'test-simList.R:410:3', 'test-simList.R:500:3', 'test-simulation.R:227:3', 'test-simulation.R:305:3', 'test-simulation.R:322:3', 'test-simulation.R:504:3', 'test-simulation.R:1017:3', 'test-simulation.R:1059:3', 'test-timeunits.R:2:3' • benchmarking DES (1): 'test-simulation.R:342:3' • empty test (1): 'test-parallel.R:1:1' • interactive() is not TRUE (1): 'test-Plots.R:204:3' • On CRAN (27): 'test-1memory.R:3:3', 'test-cache.R:2:3', 'test-cache.R:238:3', 'test-cache.R:663:3', 'test-cache.R:705:3', 'test-checkpoint.R:2:3', 'test-checkpoint.R:43:3', 'test-downloadData.R:2:3', 'test-downloadModule.R:2:3', 'test-downloadModule.R:33:3', 'test-downloadModule.R:64:3', 'test-downloadModule.R:116:3', 'test-futureEvents.R:2:3', 'test-load.R:115:3', 'test-load.R:320:3', 'test-load.R:462:3', 'test-load.R:483:3', 'test-mod.R:163:3', 'test-module-deps-methods.R:117:3', 'test-Plots.R:2:3', 'test-save.R:2:3', 'test-simList.R:223:3', 'test-simList.R:328:3', 'test-simList.R:345:3', 'test-simulation.R:2:3', 'test-simulation.R:88:3', 'test-timeunits.R:77:3' • restartR not possible in automated tests (1): 'test-save.R:365:3' • restartR with logging not possible in automated tests (1): 'test-save.R:455:3' ══ Failed tests ════════════════════════════════════════════════════════════════════════════════════════════════════════ ── Error ('test-save.R:572:3'): registerOutputs ──────────────────────────────────────────────────────────────────────── Error in `grepl(pattern = paste0("^", outputPath(sim)), sim@outputs$file)`: invalid regular expression '^D:\temp\2026_01_08_20_10_17_18332\RtmpW6Jgha/SpaDES/outputs', reason 'Invalid back reference' Backtrace: ▆ 1. ├─SpaDES.core::simInit(...) at test-save.R:572:3 2. └─SpaDES.core::simInit(...) 3. ├─SpaDES.core::simInit(...) 4. └─SpaDES.core::simInit(...) 5. ├─base::withCallingHandlers(...) 6. ├─SpaDES.core::`outputs<-`(`*tmp*`, value = outputs) 7. └─SpaDES.core::`outputs<-`(`*tmp*`, value = outputs) 8. └─base::grepl(pattern = paste0("^", outputPath(sim)), sim@outputs$file) [ FAIL 1 | WARN 1 | SKIP 56 | PASS 244 ] Error: ! Test failures. Execution halted Ran 1/1 deferred expressions * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... NOTE Note: skipping 'iii-cache.Rmd' due to unavailable dependencies: 'NLMR' * checking PDF version of manual ... [24s] OK * checking HTML version of manual ... [32s] OK * DONE Status: 1 ERROR, 1 NOTE