Running ‘testthat.R’ [136s/163s]
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.9.0-CAPI-1.16.2 
   Linking to sp version: 1.4-4 
   Polygon checking: TRUE 
  
  > 
  > test_check("antaresViz")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● .runExchangesStackTest is not TRUE (8)
  ● .runPlotMapTest is not TRUE (1)
  ● .runProdStackTest is not TRUE (4)
  ● .runTsPlotTest is not TRUE (1)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-exchangesStack.R:5:3): no interactive ─────────────────────────
  'memory.limit()' is Windows-specific
  Backtrace:
   1. antaresRead::readAntares(links = "all", timeStep = "daily", showProgress = FALSE) test-exchangesStack.R:5:2
   3. utils::memory.limit()
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-prodStack.R:309:3): prodStack must work with refStudy, if interactive is set to TRUE and if x and refStudy are antaresData,  ──
  Error: $ operator is invalid for atomic vectors
  Backtrace:
      █
   1. └─antaresViz:::.get_data_from_htmlwidget(PS3) test-prodStack.R:309:2
  ── Error (test-prodStack.R:338:3): prodStack must work with refStudy, if interactive is set to TRUE and if x a list of antaresData and refStudy an antaresData,  ──
  Error: $ operator is invalid for atomic vectors
  Backtrace:
      █
   1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 2) test-prodStack.R:338:2
  ── Error (test-prodStack.R:388:3): prodStack must work with refStudy, if interactive is set to TRUE and if x is an antaresDataList and refStudy an antaresDataList,  ──
  Error: $ operator is invalid for atomic vectors
  Backtrace:
      █
   1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 1) test-prodStack.R:388:2
  ── Error (test-prodStack.R:442:3): prodStack must work with refStudy, if interactive is set to TRUE and if x is a list of antaresDataList and refStudy an antaresDataList ,  ──
  Error: $ operator is invalid for atomic vectors
  Backtrace:
      █
   1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 3) test-prodStack.R:442:2
  
  [ FAIL 4 | WARN 1 | SKIP 14 | PASS 287 ]
  Error: Test failures
  Execution halted