Running ‘test-all.R’ [235s/414s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > 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
  
  ── 1. Error: test cache (@test-cache.R#34)  ────────────────────────────────────
  is.character(repoDir) & length(repoDir) == 1 is not TRUE
  Backtrace:
   1. reproducible::showCache(sims[[1]])
   2. reproducible::showCache(sims[[1]])
   6. archivist::showLocalRepo(x)
   7. base::stopifnot(is.character(repoDir) & length(repoDir) == 1)
  
  [1] "<environment: 0x10a14ef8>"
  [1] "<environment: 0x16218898>"
  Error in header[["Content-Length"]] : subscript out of bounds
  Vim: Warning: Output is not to a terminal
  Vim: Warning: Input is not from a terminal
  [m[m[0m[H[2J[24;1H"/tmp/RtmpzBv2Fo/working_dir/RtmpSU9WlC/AjzGsO/child_module/./child_module.R"
  <Bv2Fo/working_dir/RtmpSU9WlC/AjzGsO/child_module/./child_module.R" 194L, 7282C[2;1H# Everything in this file gets sourced during simInit, and all functions and obj[3;1Hects
  # are put into the simList. To use objects, use sim$xxx, and are thus globally a[5;1Hvailable
  # to all modules. Functions can be used without sim$ as they are namespaced, lik[7;1He functions
  # in R packages. If exact location is required, functions will be: sim$<moduleNa[9;1Hme>$FunctionName
  defineModule(sim, list(
    name = "child_module",
    description = NA, #"insert module description here",
    keywords = NA, # c("insert key words here"),
    authors = c(person(c("First", "Middle"), "Last", email = "email@example.com",
  role = c("aut", "cre"))),
    childModules = character(0),
    version = list(SpaDES.core = "0.2.6", child_module = "0.0.1"),
    spatialExtent = raster::extent(rep(NA_real_, 4)),
    timeframe = as.POSIXlt(c(NA, NA)),
    timeunit = "year",
    citation = list("citation.bib"),
    documentation = list("README.txt", "child_module.Rmd"),
    reqdPkgs = list(),[1;1H[24;1HVim: Error reading input, exiting...
  Vim: Finished.
  [24;1H
  Vim: Warning: Output is not to a terminal
  Vim: Warning: Input is not from a terminal
  [m[m[0m[H[2J[24;1H<tmp/RtmpzBv2Fo/working_dir/RtmpSU9WlC/AjzGsO/child_module/./child_module.Rmd"
  
  
  [23;1H"/tmp/RtmpzBv2Fo/working_dir/RtmpSU9WlC/AjzGsO/child_module/./child_module.Rmd"
  74L, 1707C
  
  
  [32mPress ENTER or type command to continue
  [0mVim: Error reading input, exiting...
  Vim: Finished.
  [24;1H
  Vim: Warning: Output is not to a terminal
  Vim: Warning: Input is not from a terminal
  [m[m[0m[H[2J[24;1H<tmp/RtmpzBv2Fo/working_dir/RtmpSU9WlC/AjzGsO/parent_module/./parent_module.R"
  
  
  [23;1H"/tmp/RtmpzBv2Fo/working_dir/RtmpSU9WlC/AjzGsO/parent_module/./parent_module.R"
  18L, 902C
  
  
  [32mPress ENTER or type command to continue
  [0mVim: Error reading input, exiting...
  Vim: Finished.
  [24;1H
  Vim: Warning: Output is not to a terminal
  Vim: Warning: Input is not from a terminal
  [m[m[0m[H[2J[24;1H<p/RtmpzBv2Fo/working_dir/RtmpSU9WlC/AjzGsO/parent_module/./parent_module.Rmd"
  
  
  [23;1H"/tmp/RtmpzBv2Fo/working_dir/RtmpSU9WlC/AjzGsO/parent_module/./parent_module.Rmd[24;1H" 74L, 1710C
  
  
  [32mPress ENTER or type command to continue
  [0mVim: Error reading input, exiting...
  Vim: Finished.
  [24;1H
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 470 | SKIPPED: 10 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: test cache (@test-cache.R#34) 
  
  Error: testthat unit tests failed
  Execution halted