Running ‘testthat.R’ [14s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(antaresViz)
  Loading required package: antaresRead
  Loading required package: antaresProcessing
  
  Attaching package: 'antaresProcessing'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  Loading required package: spMaps
  Loading required package: sp
  Loading required package: raster
  
  Attaching package: 'raster'
  
  The following object is masked from 'package:antaresProcessing':
  
      getValues
  
  Loading required package: rgeos
  rgeos version: 0.5-5, (SVN revision 640)
   GEOS runtime version: 3.8.1-CAPI-1.13.3 
   Linking to sp version: 1.4-4 
   Polygon checking: TRUE 
  
  > 
  > test_check("antaresViz")
  ── Warning (test-exchangesStack.R:3:1): (code run outside of `test_that()`) ────
  'memory.limit()' is Windows-specific
  
  ── ERROR (test-exchangesStack.R:16:1): (code run outside of `test_that()`) ─────
  Error: `desc` must be a string
  Backtrace:
      █
   1. └─testthat::describe(...) test-exchangesStack.R:16:0
   2.   └─base::eval(substitute(code), describe_environment)
   3.     └─base::eval(substitute(code), describe_environment)
   4.       └─base::lapply(...) test-exchangesStack.R:26:2
   5.         └─antaresViz:::FUN(X[[i]], ...)
   6.           └─testthat::test_that(...) test-exchangesStack.R:27:4
  
  ── ERROR (test-plotMap.R:3:1): (code run outside of `test_that()`) ─────────────
  Error: `desc` must be a string
  Backtrace:
      █
   1. └─testthat::describe(...) test-plotMap.R:3:0
   2.   └─base::eval(substitute(code), describe_environment)
   3.     └─base::eval(substitute(code), describe_environment)
   4.       └─base::lapply(...) test-plotMap.R:17:2
   5.         └─antaresViz:::FUN(X[[i]], ...)
   6.           └─testthat::test_that(...) test-plotMap.R:18:4
  
  ── ERROR (test-prodStack.R:3:1): (code run outside of `test_that()`) ───────────
  Error: `desc` must be a string
  Backtrace:
      █
   1. └─testthat::describe(...) test-prodStack.R:3:0
   2.   └─base::eval(substitute(code), describe_environment)
   3.     └─base::eval(substitute(code), describe_environment)
   4.       └─base::lapply(...) test-prodStack.R:12:2
   5.         └─antaresViz:::FUN(X[[i]], ...)
   6.           └─testthat::test_that(...) test-prodStack.R:13:4
  
  ── ERROR (test-ts_plot.R:3:1): (code run outside of `test_that()`) ─────────────
  Error: `desc` must be a string
  Backtrace:
      █
   1. └─testthat::describe(...) test-ts_plot.R:3:0
   2.   └─base::eval(substitute(code), describe_environment)
   3.     └─base::eval(substitute(code), describe_environment)
   4.       └─base::lapply(...) test-ts_plot.R:21:2
   5.         └─antaresViz:::FUN(X[[i]], ...)
   6.           └─testthat::test_that(...) test-ts_plot.R:22:4
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  Warning (test-exchangesStack.R:3:1): (code run outside of `test_that()`)
  ERROR (test-exchangesStack.R:16:1): (code run outside of `test_that()`)
  ERROR (test-plotMap.R:3:1): (code run outside of `test_that()`)
  ERROR (test-prodStack.R:3:1): (code run outside of `test_that()`)
  ERROR (test-ts_plot.R:3:1): (code run outside of `test_that()`)
  
  [ FAIL 4 | WARN 1 | SKIP 0 | PASS 122 ]
  Error: Test failures
  Execution halted