CRAN Package Check Results for Package SpaDES.core

Last updated on 2026-05-19 10:50:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.4 62.20 433.34 495.54 OK
r-devel-linux-x86_64-debian-gcc 3.0.4 34.94 293.23 328.17 OK
r-devel-linux-x86_64-fedora-clang 3.0.4 123.00 724.72 847.72 OK
r-devel-linux-x86_64-fedora-gcc 3.0.4 105.00 OK
r-devel-windows-x86_64 3.0.4 58.00 375.00 433.00 OK
r-patched-linux-x86_64 3.0.4 63.61 405.88 469.49 OK
r-release-linux-x86_64 3.0.4 62.24 412.39 474.63 OK
r-release-macos-arm64 3.1.0 15.00 112.00 127.00 ERROR
r-release-macos-x86_64 3.1.0 44.00 445.00 489.00 ERROR
r-release-windows-x86_64 3.0.4 63.00 386.00 449.00 OK
r-oldrel-macos-arm64 3.0.4 14.00 89.00 103.00 OK
r-oldrel-macos-x86_64 3.1.0 43.00 413.00 456.00 ERROR
r-oldrel-windows-x86_64 3.0.4 88.00 521.00 609.00 OK

Additional issues

M1mac

Check Details

Version: 3.1.0
Check: tests
Result: ERROR Running ‘test-all.R’ [25s/26s] 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 3496 bytes ================================================== downloaded 3496 bytes [ FAIL 17 | WARN 0 | SKIP 32 | PASS 545 ] ══ Skipped tests (32) ══════════════════════════════════════════════════════════════════════════════════════════════════ • On CRAN (32): 'test-1memory.R:3:3', 'test-Plots.R:2:3', 'test-Plots.R:213:3', 'test-Plots.R:250:3', 'test-Plots.R:297:3', 'test-Plots.R:337:3', 'test-cache.R:2:3', 'test-cache.R:238:3', 'test-cache.R:650:3', 'test-cache.R:692: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:322:3', 'test-mod.R:265: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', 'test-useCacheArgs.R:40:3', 'test-useCacheArgs.R:72:3', 'test-useCacheArgs.R:103:3', 'test-useCacheArgs.R:135:3' ══ Failed tests ════════════════════════════════════════════════════════════════════════════════════════════════════════ ── Error ('test-cache.R:193:5'): test module-level cache ─────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-cache.R:192:3 2. │ └─base::withCallingHandlers(...) 3. ├─SpaDES.core::spades(Copy(mySim), notOlderThan = Sys.time(), debug = FALSE) at test-cache.R:193:5 4. ├─SpaDES.core::spades(Copy(mySim), notOlderThan = Sys.time(), debug = FALSE) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ ├─reproducible::Cache(...) 11. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 12. │ │ └─reproducible:::evalTheFun(...) 13. │ │ ├─base::withCallingHandlers(...) 14. │ │ └─base::eval(FUNcaptured, envir = envir) 15. │ │ └─base::eval(FUNcaptured, envir = envir) 16. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 17. │ └─SpaDES.core (local) Init(sim) 18. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 19. │ └─SpaDES.tools::neutralLandscapeMap(...) 20. │ └─base::stop(...) 21. └─base::.handleSimpleError(...) 22. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-cache.R:593:3'): test showSimilar ────────────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(Copy(mySim), .plotInitialTime = NA) at test-cache.R:593:3 2. ├─SpaDES.core::spades(Copy(mySim), .plotInitialTime = NA) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ ├─reproducible::Cache(...) 9. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 10. │ │ └─reproducible:::evalTheFun(...) 11. │ │ ├─base::withCallingHandlers(...) 12. │ │ └─base::eval(FUNcaptured, envir = envir) 13. │ │ └─base::eval(FUNcaptured, envir = envir) 14. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 15. │ └─SpaDES.core (local) Init(sim) 16. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 17. │ └─SpaDES.tools::neutralLandscapeMap(...) 18. │ └─base::stop(...) 19. └─base::.handleSimpleError(...) 20. └─SpaDES.core (local) h(simpleError(msg, call)) ── Failure ('test-cache.R:640:3'): test multipart cache file ─────────────────────────────────────────────────────────── Expected `{ ... }` not to throw any errors. Actually got a <simpleError> with message: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') ── Error ('test-cache.R:643:3'): test multipart cache file ───────────────────────────────────────────────────────────── Error in `eval(code, test_env)`: object 'out1' not found ── Error ('test-conditionalEvents.R:69:3'): simulation runs with simInit and spades ──────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(mySim, debug = FALSE) at test-conditionalEvents.R:69:3 2. ├─SpaDES.core::spades(mySim, debug = FALSE) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-load.R:30:5'): loading inputs does not work correctly ────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(mySim) at test-load.R:30:5 2. ├─SpaDES.core::spades(mySim) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-load.R:278:5'): passing objects to simInit does not work correctly ───────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(sim6) at test-load.R:278:5 2. ├─SpaDES.core::spades(sim6) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Failure ('test-module-deps-methods.R:231:7'): 3 levels of parent and child modules load and show correctly ────────── Expected `length(unique(mg$communities$member)) == 3` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Error ('test-multipleModulePaths.R:70:3'): simulation runs with simInit and spades ────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(...) at test-multipleModulePaths.R:70:3 2. ├─SpaDES.core::spades(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-objectSynonyms.R:29:3'): test objectSynonyms ─────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(sim, .plotInitialTime = NA, debug = FALSE) at test-objectSynonyms.R:29:3 2. ├─SpaDES.core::spades(sim, .plotInitialTime = NA, debug = FALSE) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-save.R:196:3'): saveSimList works correctly ──────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(...) at test-save.R:196:3 2. ├─SpaDES.core::spades(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-save.R:330:3'): saveSimList with file backed objs ────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(mySim, debug = FALSE) at test-save.R:330:3 2. ├─SpaDES.core::spades(mySim, debug = FALSE) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simList.R:430:5'): test sped-up Caching of sequentially cached events ────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-simList.R:429:3 2. │ └─base::withCallingHandlers(...) 3. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) at test-simList.R:430:5 4. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ ├─reproducible::Cache(...) 11. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 12. │ │ └─reproducible:::evalTheFun(...) 13. │ │ ├─base::withCallingHandlers(...) 14. │ │ └─base::eval(FUNcaptured, envir = envir) 15. │ │ └─base::eval(FUNcaptured, envir = envir) 16. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 17. │ └─SpaDES.core (local) Init(sim) 18. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 19. │ └─SpaDES.tools::neutralLandscapeMap(...) 20. │ └─base::stop(...) 21. └─base::.handleSimpleError(...) 22. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simList.R:538:7'): test sped-up Caching of sequentially cached events 2 ──────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-simList.R:537:5 2. │ └─base::withCallingHandlers(...) 3. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) at test-simList.R:538:7 4. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ ├─reproducible::Cache(...) 11. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 12. │ │ └─reproducible:::evalTheFun(...) 13. │ │ ├─base::withCallingHandlers(...) 14. │ │ └─base::eval(FUNcaptured, envir = envir) 15. │ │ └─base::eval(FUNcaptured, envir = envir) 16. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 17. │ └─SpaDES.core (local) Init(sim) 18. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 19. │ └─SpaDES.tools::neutralLandscapeMap(...) 20. │ └─base::stop(...) 21. └─base::.handleSimpleError(...) 22. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simulation.R:288:5'): spades calls - diff't signatures ───────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─base::assign(...) at test-simulation.R:288:5 2. ├─base::system.time(spades(a, cache = TRUE, .plotInitialTime = NA)) 3. ├─SpaDES.core::spades(a, cache = TRUE, .plotInitialTime = NA) 4. ├─SpaDES.core::spades(a, cache = TRUE, .plotInitialTime = NA) 5. │ ├─reproducible::Cache(...) 6. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 7. │ │ └─reproducible:::evalTheFun(...) 8. │ │ ├─base::withCallingHandlers(...) 9. │ │ └─base::eval(FUNcaptured, envir = envir) 10. │ │ └─base::eval(FUNcaptured, envir = envir) 11. │ ├─SpaDES.core::spades(...) 12. │ └─SpaDES.core::spades(...) 13. │ ├─SpaDES.core::spades(...) 14. │ └─SpaDES.core::spades(...) 15. │ ├─base::withCallingHandlers(...) 16. │ └─SpaDES.core::doEvent(...) 17. │ └─SpaDES.core:::.runEvent(...) 18. │ ├─base::eval(fnCallAsExpr) 19. │ │ └─base::eval(fnCallAsExpr) 20. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 21. │ └─SpaDES.core (local) Init(sim) 22. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 23. │ └─SpaDES.tools::neutralLandscapeMap(...) 24. │ └─base::stop(...) 25. └─base::.handleSimpleError(...) 26. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simulation.R:878:3'): simInitAndSpades ───────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::simInitAndSpades(...) at test-simulation.R:878:3 2. │ ├─base::do.call(spades, objsSpades) 3. │ ├─SpaDES.core (local) `<nnstndGF>`(sim = sim, debug = FALSE) 4. │ └─SpaDES.core (local) `<nnstndGF>`(sim = sim, debug = FALSE) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 11. │ └─SpaDES.core (local) Init(sim) 12. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 13. │ └─SpaDES.tools::neutralLandscapeMap(...) 14. │ └─base::stop(...) 15. └─base::.handleSimpleError(...) 16. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simulation.R:927:7'): debug using logging ────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-simulation.R:925:3 2. │ └─base::withCallingHandlers(...) 3. ├─utils::capture.output(...) at test-simulation.R:926:5 4. │ └─base::withVisible(...elt(i)) 5. ├─SpaDES.core::spades(...) at test-simulation.R:927:7 6. └─SpaDES.core::spades(...) 7. ├─base::withCallingHandlers(...) 8. └─SpaDES.core::doEvent(...) 9. └─SpaDES.core:::.runEvent(...) 10. ├─base::eval(fnCallAsExpr) 11. │ └─base::eval(fnCallAsExpr) 12. ├─reproducible::Cache(...) 13. │ └─reproducible:::evalTheFunAndAddChanged(...) 14. │ └─reproducible:::evalTheFun(...) 15. │ ├─base::withCallingHandlers(...) 16. │ └─base::eval(FUNcaptured, envir = envir) 17. │ └─base::eval(FUNcaptured, envir = envir) 18. └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 19. └─SpaDES.core (local) Init(sim) 20. └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 21. └─SpaDES.tools::neutralLandscapeMap(...) [ FAIL 17 | WARN 0 | SKIP 32 | PASS 545 ] Error: ! Test failures. Execution halted Ran 1/1 deferred expressions Flavor: r-release-macos-arm64

Version: 3.1.0
Check: tests
Result: ERROR Running ‘test-all.R’ [72s/98s] 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 3496 bytes ================================================== downloaded 3496 bytes [ FAIL 17 | WARN 0 | SKIP 32 | PASS 545 ] ══ Skipped tests (32) ══════════════════════════════════════════════════════════════════════════════════════════════════ • On CRAN (32): 'test-1memory.R:3:3', 'test-Plots.R:2:3', 'test-Plots.R:213:3', 'test-Plots.R:250:3', 'test-Plots.R:297:3', 'test-Plots.R:337:3', 'test-cache.R:2:3', 'test-cache.R:238:3', 'test-cache.R:650:3', 'test-cache.R:692: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:322:3', 'test-mod.R:265: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', 'test-useCacheArgs.R:40:3', 'test-useCacheArgs.R:72:3', 'test-useCacheArgs.R:103:3', 'test-useCacheArgs.R:135:3' ══ Failed tests ════════════════════════════════════════════════════════════════════════════════════════════════════════ ── Error ('test-cache.R:193:5'): test module-level cache ─────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-cache.R:192:3 2. │ └─base::withCallingHandlers(...) 3. ├─SpaDES.core::spades(Copy(mySim), notOlderThan = Sys.time(), debug = FALSE) at test-cache.R:193:5 4. ├─SpaDES.core::spades(Copy(mySim), notOlderThan = Sys.time(), debug = FALSE) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ ├─reproducible::Cache(...) 11. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 12. │ │ └─reproducible:::evalTheFun(...) 13. │ │ ├─base::withCallingHandlers(...) 14. │ │ └─base::eval(FUNcaptured, envir = envir) 15. │ │ └─base::eval(FUNcaptured, envir = envir) 16. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 17. │ └─SpaDES.core (local) Init(sim) 18. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 19. │ └─SpaDES.tools::neutralLandscapeMap(...) 20. │ └─base::stop(...) 21. └─base::.handleSimpleError(...) 22. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-cache.R:593:3'): test showSimilar ────────────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(Copy(mySim), .plotInitialTime = NA) at test-cache.R:593:3 2. ├─SpaDES.core::spades(Copy(mySim), .plotInitialTime = NA) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ ├─reproducible::Cache(...) 9. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 10. │ │ └─reproducible:::evalTheFun(...) 11. │ │ ├─base::withCallingHandlers(...) 12. │ │ └─base::eval(FUNcaptured, envir = envir) 13. │ │ └─base::eval(FUNcaptured, envir = envir) 14. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 15. │ └─SpaDES.core (local) Init(sim) 16. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 17. │ └─SpaDES.tools::neutralLandscapeMap(...) 18. │ └─base::stop(...) 19. └─base::.handleSimpleError(...) 20. └─SpaDES.core (local) h(simpleError(msg, call)) ── Failure ('test-cache.R:640:3'): test multipart cache file ─────────────────────────────────────────────────────────── Expected `{ ... }` not to throw any errors. Actually got a <simpleError> with message: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') ── Error ('test-cache.R:643:3'): test multipart cache file ───────────────────────────────────────────────────────────── Error in `eval(code, test_env)`: object 'out1' not found ── Error ('test-conditionalEvents.R:69:3'): simulation runs with simInit and spades ──────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(mySim, debug = FALSE) at test-conditionalEvents.R:69:3 2. ├─SpaDES.core::spades(mySim, debug = FALSE) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-load.R:30:5'): loading inputs does not work correctly ────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(mySim) at test-load.R:30:5 2. ├─SpaDES.core::spades(mySim) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-load.R:278:5'): passing objects to simInit does not work correctly ───────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(sim6) at test-load.R:278:5 2. ├─SpaDES.core::spades(sim6) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Failure ('test-module-deps-methods.R:231:7'): 3 levels of parent and child modules load and show correctly ────────── Expected `length(unique(mg$communities$member)) == 3` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Error ('test-multipleModulePaths.R:70:3'): simulation runs with simInit and spades ────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(...) at test-multipleModulePaths.R:70:3 2. ├─SpaDES.core::spades(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-objectSynonyms.R:29:3'): test objectSynonyms ─────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(sim, .plotInitialTime = NA, debug = FALSE) at test-objectSynonyms.R:29:3 2. ├─SpaDES.core::spades(sim, .plotInitialTime = NA, debug = FALSE) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-save.R:196:3'): saveSimList works correctly ──────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(...) at test-save.R:196:3 2. ├─SpaDES.core::spades(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-save.R:330:3'): saveSimList with file backed objs ────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(mySim, debug = FALSE) at test-save.R:330:3 2. ├─SpaDES.core::spades(mySim, debug = FALSE) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simList.R:430:5'): test sped-up Caching of sequentially cached events ────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-simList.R:429:3 2. │ └─base::withCallingHandlers(...) 3. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) at test-simList.R:430:5 4. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ ├─reproducible::Cache(...) 11. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 12. │ │ └─reproducible:::evalTheFun(...) 13. │ │ ├─base::withCallingHandlers(...) 14. │ │ └─base::eval(FUNcaptured, envir = envir) 15. │ │ └─base::eval(FUNcaptured, envir = envir) 16. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 17. │ └─SpaDES.core (local) Init(sim) 18. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 19. │ └─SpaDES.tools::neutralLandscapeMap(...) 20. │ └─base::stop(...) 21. └─base::.handleSimpleError(...) 22. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simList.R:538:7'): test sped-up Caching of sequentially cached events 2 ──────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-simList.R:537:5 2. │ └─base::withCallingHandlers(...) 3. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) at test-simList.R:538:7 4. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ ├─reproducible::Cache(...) 11. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 12. │ │ └─reproducible:::evalTheFun(...) 13. │ │ ├─base::withCallingHandlers(...) 14. │ │ └─base::eval(FUNcaptured, envir = envir) 15. │ │ └─base::eval(FUNcaptured, envir = envir) 16. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 17. │ └─SpaDES.core (local) Init(sim) 18. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 19. │ └─SpaDES.tools::neutralLandscapeMap(...) 20. │ └─base::stop(...) 21. └─base::.handleSimpleError(...) 22. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simulation.R:288:5'): spades calls - diff't signatures ───────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─base::assign(...) at test-simulation.R:288:5 2. ├─base::system.time(spades(a, cache = TRUE, .plotInitialTime = NA)) 3. ├─SpaDES.core::spades(a, cache = TRUE, .plotInitialTime = NA) 4. ├─SpaDES.core::spades(a, cache = TRUE, .plotInitialTime = NA) 5. │ ├─reproducible::Cache(...) 6. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 7. │ │ └─reproducible:::evalTheFun(...) 8. │ │ ├─base::withCallingHandlers(...) 9. │ │ └─base::eval(FUNcaptured, envir = envir) 10. │ │ └─base::eval(FUNcaptured, envir = envir) 11. │ ├─SpaDES.core::spades(...) 12. │ └─SpaDES.core::spades(...) 13. │ ├─SpaDES.core::spades(...) 14. │ └─SpaDES.core::spades(...) 15. │ ├─base::withCallingHandlers(...) 16. │ └─SpaDES.core::doEvent(...) 17. │ └─SpaDES.core:::.runEvent(...) 18. │ ├─base::eval(fnCallAsExpr) 19. │ │ └─base::eval(fnCallAsExpr) 20. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 21. │ └─SpaDES.core (local) Init(sim) 22. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 23. │ └─SpaDES.tools::neutralLandscapeMap(...) 24. │ └─base::stop(...) 25. └─base::.handleSimpleError(...) 26. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simulation.R:878:3'): simInitAndSpades ───────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::simInitAndSpades(...) at test-simulation.R:878:3 2. │ ├─base::do.call(spades, objsSpades) 3. │ ├─SpaDES.core (local) `<nnstndGF>`(sim = sim, debug = FALSE) 4. │ └─SpaDES.core (local) `<nnstndGF>`(sim = sim, debug = FALSE) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 11. │ └─SpaDES.core (local) Init(sim) 12. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 13. │ └─SpaDES.tools::neutralLandscapeMap(...) 14. │ └─base::stop(...) 15. └─base::.handleSimpleError(...) 16. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simulation.R:927:7'): debug using logging ────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-simulation.R:925:3 2. │ └─base::withCallingHandlers(...) 3. ├─utils::capture.output(...) at test-simulation.R:926:5 4. │ └─base::withVisible(...elt(i)) 5. ├─SpaDES.core::spades(...) at test-simulation.R:927:7 6. └─SpaDES.core::spades(...) 7. ├─base::withCallingHandlers(...) 8. └─SpaDES.core::doEvent(...) 9. └─SpaDES.core:::.runEvent(...) 10. ├─base::eval(fnCallAsExpr) 11. │ └─base::eval(fnCallAsExpr) 12. ├─reproducible::Cache(...) 13. │ └─reproducible:::evalTheFunAndAddChanged(...) 14. │ └─reproducible:::evalTheFun(...) 15. │ ├─base::withCallingHandlers(...) 16. │ └─base::eval(FUNcaptured, envir = envir) 17. │ └─base::eval(FUNcaptured, envir = envir) 18. └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 19. └─SpaDES.core (local) Init(sim) 20. └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 21. └─SpaDES.tools::neutralLandscapeMap(...) [ FAIL 17 | WARN 0 | SKIP 32 | PASS 545 ] Error: ! Test failures. Execution halted Ran 1/1 deferred expressions Flavor: r-release-macos-x86_64

Version: 3.1.0
Check: tests
Result: ERROR Running ‘test-all.R’ [73s/101s] 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 3496 bytes ================================================== downloaded 3496 bytes [ FAIL 17 | WARN 0 | SKIP 32 | PASS 545 ] ══ Skipped tests (32) ══════════════════════════════════════════════════════════════════════════════════════════════════ • On CRAN (32): 'test-1memory.R:3:3', 'test-Plots.R:2:3', 'test-Plots.R:213:3', 'test-Plots.R:250:3', 'test-Plots.R:297:3', 'test-Plots.R:337:3', 'test-cache.R:2:3', 'test-cache.R:238:3', 'test-cache.R:650:3', 'test-cache.R:692: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:322:3', 'test-mod.R:265: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', 'test-useCacheArgs.R:40:3', 'test-useCacheArgs.R:72:3', 'test-useCacheArgs.R:103:3', 'test-useCacheArgs.R:135:3' ══ Failed tests ════════════════════════════════════════════════════════════════════════════════════════════════════════ ── Error ('test-cache.R:193:5'): test module-level cache ─────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-cache.R:192:3 2. │ └─base::withCallingHandlers(...) 3. ├─SpaDES.core::spades(Copy(mySim), notOlderThan = Sys.time(), debug = FALSE) at test-cache.R:193:5 4. ├─SpaDES.core::spades(Copy(mySim), notOlderThan = Sys.time(), debug = FALSE) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ ├─reproducible::Cache(...) 11. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 12. │ │ └─reproducible:::evalTheFun(...) 13. │ │ ├─base::withCallingHandlers(...) 14. │ │ └─base::eval(FUNcaptured, envir = envir) 15. │ │ └─base::eval(FUNcaptured, envir = envir) 16. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 17. │ └─SpaDES.core (local) Init(sim) 18. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 19. │ └─SpaDES.tools::neutralLandscapeMap(...) 20. │ └─base::stop(...) 21. └─base::.handleSimpleError(...) 22. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-cache.R:593:3'): test showSimilar ────────────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(Copy(mySim), .plotInitialTime = NA) at test-cache.R:593:3 2. ├─SpaDES.core::spades(Copy(mySim), .plotInitialTime = NA) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ ├─reproducible::Cache(...) 9. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 10. │ │ └─reproducible:::evalTheFun(...) 11. │ │ ├─base::withCallingHandlers(...) 12. │ │ └─base::eval(FUNcaptured, envir = envir) 13. │ │ └─base::eval(FUNcaptured, envir = envir) 14. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 15. │ └─SpaDES.core (local) Init(sim) 16. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 17. │ └─SpaDES.tools::neutralLandscapeMap(...) 18. │ └─base::stop(...) 19. └─base::.handleSimpleError(...) 20. └─SpaDES.core (local) h(simpleError(msg, call)) ── Failure ('test-cache.R:640:3'): test multipart cache file ─────────────────────────────────────────────────────────── Expected `{ ... }` not to throw any errors. Actually got a <simpleError> with message: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') ── Error ('test-cache.R:643:3'): test multipart cache file ───────────────────────────────────────────────────────────── Error in `eval(code, test_env)`: object 'out1' not found ── Error ('test-conditionalEvents.R:69:3'): simulation runs with simInit and spades ──────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(mySim, debug = FALSE) at test-conditionalEvents.R:69:3 2. ├─SpaDES.core::spades(mySim, debug = FALSE) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-load.R:30:5'): loading inputs does not work correctly ────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(mySim) at test-load.R:30:5 2. ├─SpaDES.core::spades(mySim) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-load.R:278:5'): passing objects to simInit does not work correctly ───────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(sim6) at test-load.R:278:5 2. ├─SpaDES.core::spades(sim6) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Failure ('test-module-deps-methods.R:231:7'): 3 levels of parent and child modules load and show correctly ────────── Expected `length(unique(mg$communities$member)) == 3` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Error ('test-multipleModulePaths.R:70:3'): simulation runs with simInit and spades ────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(...) at test-multipleModulePaths.R:70:3 2. ├─SpaDES.core::spades(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-objectSynonyms.R:29:3'): test objectSynonyms ─────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(sim, .plotInitialTime = NA, debug = FALSE) at test-objectSynonyms.R:29:3 2. ├─SpaDES.core::spades(sim, .plotInitialTime = NA, debug = FALSE) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-save.R:196:3'): saveSimList works correctly ──────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(...) at test-save.R:196:3 2. ├─SpaDES.core::spades(...) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-save.R:330:3'): saveSimList with file backed objs ────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::spades(mySim, debug = FALSE) at test-save.R:330:3 2. ├─SpaDES.core::spades(mySim, debug = FALSE) 3. │ ├─base::withCallingHandlers(...) 4. │ └─SpaDES.core::doEvent(...) 5. │ └─SpaDES.core:::.runEvent(...) 6. │ ├─base::eval(fnCallAsExpr) 7. │ │ └─base::eval(fnCallAsExpr) 8. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 9. │ └─SpaDES.core (local) Init(sim) 10. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 11. │ └─SpaDES.tools::neutralLandscapeMap(...) 12. │ └─base::stop(...) 13. └─base::.handleSimpleError(...) 14. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simList.R:430:5'): test sped-up Caching of sequentially cached events ────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-simList.R:429:3 2. │ └─base::withCallingHandlers(...) 3. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) at test-simList.R:430:5 4. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ ├─reproducible::Cache(...) 11. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 12. │ │ └─reproducible:::evalTheFun(...) 13. │ │ ├─base::withCallingHandlers(...) 14. │ │ └─base::eval(FUNcaptured, envir = envir) 15. │ │ └─base::eval(FUNcaptured, envir = envir) 16. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 17. │ └─SpaDES.core (local) Init(sim) 18. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 19. │ └─SpaDES.tools::neutralLandscapeMap(...) 20. │ └─base::stop(...) 21. └─base::.handleSimpleError(...) 22. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simList.R:538:7'): test sped-up Caching of sequentially cached events 2 ──────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-simList.R:537:5 2. │ └─base::withCallingHandlers(...) 3. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) at test-simList.R:538:7 4. ├─SpaDES.core::spades(mySim, debug = 1, .plotInitialTime = NA) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ ├─reproducible::Cache(...) 11. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 12. │ │ └─reproducible:::evalTheFun(...) 13. │ │ ├─base::withCallingHandlers(...) 14. │ │ └─base::eval(FUNcaptured, envir = envir) 15. │ │ └─base::eval(FUNcaptured, envir = envir) 16. │ └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 17. │ └─SpaDES.core (local) Init(sim) 18. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 19. │ └─SpaDES.tools::neutralLandscapeMap(...) 20. │ └─base::stop(...) 21. └─base::.handleSimpleError(...) 22. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simulation.R:288:5'): spades calls - diff't signatures ───────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─base::assign(...) at test-simulation.R:288:5 2. ├─base::system.time(spades(a, cache = TRUE, .plotInitialTime = NA)) 3. ├─SpaDES.core::spades(a, cache = TRUE, .plotInitialTime = NA) 4. ├─SpaDES.core::spades(a, cache = TRUE, .plotInitialTime = NA) 5. │ ├─reproducible::Cache(...) 6. │ │ └─reproducible:::evalTheFunAndAddChanged(...) 7. │ │ └─reproducible:::evalTheFun(...) 8. │ │ ├─base::withCallingHandlers(...) 9. │ │ └─base::eval(FUNcaptured, envir = envir) 10. │ │ └─base::eval(FUNcaptured, envir = envir) 11. │ ├─SpaDES.core::spades(...) 12. │ └─SpaDES.core::spades(...) 13. │ ├─SpaDES.core::spades(...) 14. │ └─SpaDES.core::spades(...) 15. │ ├─base::withCallingHandlers(...) 16. │ └─SpaDES.core::doEvent(...) 17. │ └─SpaDES.core:::.runEvent(...) 18. │ ├─base::eval(fnCallAsExpr) 19. │ │ └─base::eval(fnCallAsExpr) 20. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 21. │ └─SpaDES.core (local) Init(sim) 22. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 23. │ └─SpaDES.tools::neutralLandscapeMap(...) 24. │ └─base::stop(...) 25. └─base::.handleSimpleError(...) 26. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simulation.R:878:3'): simInitAndSpades ───────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─SpaDES.core::simInitAndSpades(...) at test-simulation.R:878:3 2. │ ├─base::do.call(spades, objsSpades) 3. │ ├─SpaDES.core (local) `<nnstndGF>`(sim = sim, debug = FALSE) 4. │ └─SpaDES.core (local) `<nnstndGF>`(sim = sim, debug = FALSE) 5. │ ├─base::withCallingHandlers(...) 6. │ └─SpaDES.core::doEvent(...) 7. │ └─SpaDES.core:::.runEvent(...) 8. │ ├─base::eval(fnCallAsExpr) 9. │ │ └─base::eval(fnCallAsExpr) 10. │ └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]]) 11. │ └─SpaDES.core (local) Init(sim) 12. │ └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 13. │ └─SpaDES.tools::neutralLandscapeMap(...) 14. │ └─base::stop(...) 15. └─base::.handleSimpleError(...) 16. └─SpaDES.core (local) h(simpleError(msg, call)) ── Error ('test-simulation.R:927:7'): debug using logging ────────────────────────────────────────────────────────────── Error in `SpaDES.tools::neutralLandscapeMap(template, roughness = roughness, rand_dev = 10, rescale = rescale, verbose = FALSE)`: Package 'NLMR' not available. Please install it using: install.packages('NLMR', repos = 'https://predictiveecology.r-universe.dev') Backtrace: ▆ 1. ├─testthat::capture_messages(...) at test-simulation.R:925:3 2. │ └─base::withCallingHandlers(...) 3. ├─utils::capture.output(...) at test-simulation.R:926:5 4. │ └─base::withVisible(...elt(i)) 5. ├─SpaDES.core::spades(...) at test-simulation.R:927:7 6. └─SpaDES.core::spades(...) 7. ├─base::withCallingHandlers(...) 8. └─SpaDES.core::doEvent(...) 9. └─SpaDES.core:::.runEvent(...) 10. ├─base::eval(fnCallAsExpr) 11. │ └─base::eval(fnCallAsExpr) 12. ├─reproducible::Cache(...) 13. │ └─reproducible:::evalTheFunAndAddChanged(...) 14. │ └─reproducible:::evalTheFun(...) 15. │ ├─base::withCallingHandlers(...) 16. │ └─base::eval(FUNcaptured, envir = envir) 17. │ └─base::eval(FUNcaptured, envir = envir) 18. └─SpaDES.core (local) modCall(sim = sim, eventTime = cur[["eventTime"]], eventType = cur[["eventType"]]) 19. └─SpaDES.core (local) Init(sim) 20. └─SpaDES.core (local) makeNLM(template, smooth = 5L, roughness = 0.3, rescale = TRUE) 21. └─SpaDES.tools::neutralLandscapeMap(...) [ FAIL 17 | WARN 0 | SKIP 32 | PASS 545 ] Error: ! Test failures. Execution halted Ran 1/1 deferred expressions Flavor: r-oldrel-macos-x86_64