Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > #Copyright © 2016 RTE Réseau de transport d’électricité
  > 
  > library(testthat)
  > library(antaresEditObject)
  Loading required package: antaresRead
  > 
  > test_check("antaresEditObject")
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-compute_timeStamp_from_hourly.R:3:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-compute_timeStamp_from_hourly.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, 1) test-compute_timeStamp_from_hourly.R:7:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-createArea.R:6:1): (code run outside of `test_that()`) ──────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-createArea.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, 1) test-createArea.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-createBindingConstraint.R:6:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-createBindingConstraint.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-createBindingConstraint.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-createCluster.R:6:1): (code run outside of `test_that()`) ───────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-createCluster.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-createCluster.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-createDSR.R:6:1): (code run outside of `test_that()`) ───────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-createDSR.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-createDSR.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-createDistrict.R:6:1): (code run outside of `test_that()`) ──────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-createDistrict.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-createDistrict.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-createLink.R:6:1): (code run outside of `test_that()`) ──────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-createLink.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-createLink.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-createPSP.R:6:1): (code run outside of `test_that()`) ───────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-createPSP.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-createPSP.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-editArea.R:4:1): (code run outside of `test_that()`) ────────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-editArea.R:4:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-editArea.R:7:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-editCluster.R:6:1): (code run outside of `test_that()`) ─────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-editCluster.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-editCluster.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-playlist.R:5:1): (code run outside of `test_that()`) ────────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-playlist.R:5:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-playlist.R:8:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-scenarioBuilder.R:6:1): (code run outside of `test_that()`) ─────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-scenarioBuilder.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-scenarioBuilder.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-updateBindingConstraint.R:4:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-updateBindingConstraint.R:4:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-updateBindingConstraint.R:7:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-updateGeneralSettings.R:6:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-updateGeneralSettings.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-updateGeneralSettings.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-updateInputSettings.R:5:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-updateInputSettings.R:5:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-updateInputSettings.R:8:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-updateOptimizationSettings.R:5:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-updateOptimizationSettings.R:5:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-updateOptimizationSettings.R:8:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-updateOutputSettings.R:5:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-updateOutputSettings.R:5:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-updateOutputSettings.R:8:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-writeEconomicOptions.R:6:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-writeEconomicOptions.R:6:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-writeEconomicOptions.R:9:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-writeInputTS.R:5:1): (code run outside of `test_that()`) ────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-writeInputTS.R:5:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-writeInputTS.R:8:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-writeOutputValues.R:8:5): Write all ─────────────────────────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─antaresRead::setSimulationPath(studyPath, 1) test-writeOutputValues.R:8:4
   2.   └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-writeSeriesPrepro.R:5:1): (code run outside of `test_that()`) ───
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-writeSeriesPrepro.R:5:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-writeSeriesPrepro.R:8:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-writeWaterValues.R:5:1): (code run outside of `test_that()`) ────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-writeWaterValues.R:5:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath, "input") test-writeWaterValues.R:8:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  
  [ FAIL 22 | WARN 44 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted