Running 'test-all.R' [77s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > test_check("zoon")
  Loading required package: zoon
  Loading required package: raster
  Loading required package: sp
  -- 1. Error: Test in workflows (@testCombineRasters.R#94)  ---------------------
  <text>:2:1: unexpected '<'
  1: 
  2: <
     ^
  1: workflow(UKAnophelesPlumbeus, Chain(UKAir, NaiveRandomRaster), OneHundredBackground, 
         RandomForest, PrintMap) at testthat/testCombineRasters.R:94
  2: LapplyGetModule(output.module, forceReproducible, e)
  3: lapply(modules, function(x) {
         GotModule <- GetModule(as.character(x$module), forceReproducible, environment)
         res <- c(x, func = GotModule, version = attr(GotModule, "version"))
         return(res)
     })
  4: FUN(X[[i]], ...)
  5: GetModule(as.character(x$module), forceReproducible, environment)
  6: parse(text = rawText)
  
  -- 2. Error: Replicate workflow tests (@testReplicate.R#38)  -------------------
  <text>:2:1: unexpected '<'
  1: 
  2: <
     ^
  1: workflow(occurrence = UKAnophelesPlumbeus, covariate = UKAir, process = Replicate(Background(n = 10), 
         n = 10), model = LogisticRegression, output = PrintMap) at testthat/testReplicate.R:38
  2: LapplyGetModule(output.module, forceReproducible, e)
  3: lapply(modules, function(x) {
         GotModule <- GetModule(as.character(x$module), forceReproducible, environment)
         res <- c(x, func = GotModule, version = attr(GotModule, "version"))
         return(res)
     })
  4: FUN(X[[i]], ...)
  5: GetModule(as.character(x$module), forceReproducible, environment)
  6: parse(text = rawText)
  
  == testthat results  ===========================================================
  OK: 229 SKIPPED: 30 FAILED: 2
  1. Error: Test in workflows (@testCombineRasters.R#94) 
  2. Error: Replicate workflow tests (@testReplicate.R#38) 
  
  Error: testthat unit tests failed
  Execution halted