- using R version 4.6.0 (2026-04-24)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
* current time: 2026-05-19 10:28:39 UTC
- checking for file ‘SpaDES.core/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘SpaDES.core’ version ‘3.1.0’
- package encoding: UTF-8
- 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 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 ‘SpaDES.core’ can be installed ... [44s/86s] OK
See the install log for details.
- checking installed package size ... INFO
installed size is 7.8Mb
sub-directories of 1Mb or more:
R 6.0Mb
- 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [7s/14s] OK
- checking whether the package can be loaded with stated dependencies ... [7s/10s] OK
- checking whether the package can be unloaded cleanly ... [6s/9s] OK
- checking whether the namespace can be loaded with stated dependencies ... [7s/10s] OK
- checking whether the namespace can be unloaded cleanly ... [7s/10s] OK
- checking loading without being on the library search path ... [6s/9s] OK
- checking whether startup messages can be suppressed ... [7s/8s] 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 ... [34s/42s] OK
- checking Rd files ... [1s/2s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [16s/24s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [77s/138s] ERROR
Running ‘test-all.R’ [77s/138s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [23s/39s] OK
- checking PDF version of manual ... [17s/24s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '