Running 'test-all.R' [278s/209s]
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] "<environment: 0x15711028>"
  [1] "<environment: 0x121b9250>"
  Error in header[["Content-Length"]] : subscript out of bounds
  -- 1. Error: 3 levels of parent and child modules load and show correctly (@test
  object 'from' not found
  1: moduleGraph(mySim, FALSE) at testthat/test-module-deps-methods.R:202
  2: moduleGraph(mySim, FALSE)
  3: lapply(parents, function(par) data.frame(el[from == par]))
  4: FUN(X[[i]], ...)
  5: data.frame(el[from == par])
  6: el[from == par]
  7: `[.data.frame`(el, from == par)
  
  Vim: Warning: Output is not to a terminal
  Vim: Warning: Input is not from a terminal
  [m[m[0m[H[2J[24;1H</RtmpZJiQtb/AjzGsO/child_module/./child_module.R"
  </AjzGsO/child_module/./child_module.R" 194L, 7282C[2;1H[34m# 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[0m
  [36mdefineModule[0m[35m([0msim[35m,[0m [32mlist[0m[35m([0m
    name [33m=[0m [31m"child_module"[0m[35m,[0m
    description [33m=[0m [31mNA[0m[35m,[0m [34m#"insert module description here",[0m
    keywords [33m=[0m [31mNA[0m[35m,[0m [34m# c("insert key words here"),[0m
    authors [33m=[0m [36mc[0m[35m([0m[36mperson[0m[35m([0m[36mc[0m[35m([0m[31m"First"[0m[35m,[0m [31m"Middle"[0m[35m),[0m [31m"Last"[0m[35m,[0m email [33m=[0m [31m"email@example.com"[0m[35m,[0m
  role [33m=[0m [36mc[0m[35m([0m[31m"aut"[0m[35m,[0m [31m"cre"[0m[35m))),[0m
    childModules [33m=[0m [32mcharacter[0m[35m([0m[31m0[0m[35m),[0m
    version [33m=[0m [32mlist[0m[35m([0mSpaDES.core [33m=[0m [31m"0.2.6"[0m[35m,[0m child_module [33m=[0m [31m"0.0.1"[0m[35m),[0m
    spatialExtent [33m=[0m raster[35m::[0m[36mextent[0m[35m([0m[36mrep[0m[35m([0m[31mNA_real_[0m[35m,[0m [31m4[0m[35m)),[0m
    timeframe [33m=[0m [36mas.POSIXlt[0m[35m([0m[36mc[0m[35m([0m[31mNA[0m[35m,[0m [31mNA[0m[35m)),[0m
    timeunit [33m=[0m [31m"year"[0m[35m,[0m
    citation [33m=[0m [32mlist[0m[35m([0m[31m"citation.bib"[0m[35m),[0m
    documentation [33m=[0m [32mlist[0m[35m([0m[31m"README.txt"[0m[35m,[0m [31m"child_module.Rmd"[0m[35m),[0m
    reqdPkgs [33m=[0m [32mlist[0m[35m(),[0m[24;63H1,0-1[9CTop[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<tmpZJiQtb/AjzGsO/child_module/./child_module.Rmd"
  <AjzGsO/child_module/./child_module.Rmd" 74L, 1677C[1;1H[35m---[0m
  [36mtitle[0m: "[31mchild_module[0m"
  [36mauthor[0m: ""
  [36mdate[0m: "[31m27 October 2019[0m"
  [36moutput[0m: pdf_document
  [35m---
  
  #[0m[35m Overview[0m
  
  Provide an overview of what the module does / how to use the module.
  
  Module documentation should be written so that others can use your module.
  This is a template for module documentation, and should be changed to reflect yo[14;1Hur module.
  
  [35m##[0m[35m R Markdown[0m
  
  R Markdown syntax allows R code, outputs, and figures to be rendered in the docu[19;1Hmentation.
  
  For help writing in R Markdown, see http://rmarkdown.rstudio.com/.
  
  [35m#[0m[35m Usage[0m[24;63H1,1[11CTop[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<tmpZJiQtb/AjzGsO/parent_module/./parent_module.R"
  </AjzGsO/parent_module/./parent_module.R" 18L, 902C[2;1H[34m# 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[0m
  [36mdefineModule[0m[35m([0msim[35m,[0m [32mlist[0m[35m([0m
    name [33m=[0m [31m"parent_module"[0m[35m,[0m
    description [33m=[0m [31mNA[0m[35m,[0m [34m#"insert module description here",[0m
    keywords [33m=[0m [31mNA[0m[35m,[0m [34m# c("insert key words here"),[0m
    authors [33m=[0m [36mc[0m[35m([0m[36mperson[0m[35m([0m[36mc[0m[35m([0m[31m"First"[0m[35m,[0m [31m"Middle"[0m[35m),[0m [31m"Last"[0m[35m,[0m email [33m=[0m [31m"email@example.com"[0m[35m,[0m
  role [33m=[0m [36mc[0m[35m([0m[31m"aut"[0m[35m,[0m [31m"cre"[0m[35m))),[0m
    childModules [33m=[0m [31m"child_module"[0m[35m,[0m
    version [33m=[0m [32mlist[0m[35m([0mSpaDES.core [33m=[0m [31m"0.2.6"[0m[35m,[0m parent_module [33m=[0m [31m"0.0.1"[0m[35m,[0m child_module [33m=[0m
  [31m"0.0.1"[0m[35m),[0m
  
    timeframe [33m=[0m [36mas.POSIXlt[0m[35m([0m[36mc[0m[35m([0m[31mNA[0m[35m,[0m [31mNA[0m[35m)),[0m
    timeunit [33m=[0m [31m"year"[0m[35m,[0m
    citation [33m=[0m [32mlist[0m[35m([0m[31m"citation.bib"[0m[35m),[0m
    documentation [33m=[0m [32mlist[0m[35m([0m[31m"README.txt"[0m[35m,[0m [31m"parent_module.Rmd"[0m[35m)[0m[24;63H1,0-1[9CTop[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<pZJiQtb/AjzGsO/parent_module/./parent_module.Rmd"
  <zGsO/parent_module/./parent_module.Rmd" 74L, 1680C[1;1H[35m---[0m
  [36mtitle[0m: "[31mparent_module[0m"
  [36mauthor[0m: ""
  [36mdate[0m: "[31m27 October 2019[0m"
  [36moutput[0m: pdf_document
  [35m---
  
  #[0m[35m Overview[0m
  
  Provide an overview of what the module does / how to use the module.
  
  Module documentation should be written so that others can use your module.
  This is a template for module documentation, and should be changed to reflect yo[14;1Hur module.
  
  [35m##[0m[35m R Markdown[0m
  
  R Markdown syntax allows R code, outputs, and figures to be rendered in the docu[19;1Hmentation.
  
  For help writing in R Markdown, see http://rmarkdown.rstudio.com/.
  
  [35m#[0m[35m Usage[0m[24;63H1,1[11CTop[1;1H[24;1HVim: Error reading input, exiting...
  Vim: Finished.
  [24;1H
  == testthat results  ===========================================================
  [ OK: 480 | SKIPPED: 9 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: 3 levels of parent and child modules load and show correctly (@test-module-deps-methods.R#202) 
  
  Error: testthat unit tests failed
  Execution halted