Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(antaresProcessing)
  Loading required package: antaresRead
  
  Attaching package: 'antaresProcessing'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  > 
  > test_check("antaresProcessing")
  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
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (20)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-addDownwardMargin.R:3:1): (code run outside of `test_that()`) ───
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-addDownwardMargin.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-addDownwardMargin.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-addExportAndImport.R:3:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-addExportAndImport.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-addExportAndImport.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-addLoadFactorLink.R:3:1): (code run outside of `test_that()`) ───
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-addLoadFactorLink.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-addLoadFactorLink.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-addUpwardMargin.R:3:1): (code run outside of `test_that()`) ─────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-addUpwardMargin.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-addUpwardMargin.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-aggregateMcYears.R:3:1): (code run outside of `test_that()`) ────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-aggregateMcYears.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-aggregateMcYears.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-checkColumns.R:3:1): (code run outside of `test_that()`) ────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-checkColumns.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-checkColumns.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-compare.R:3:1): (code run outside of `test_that()`) ─────────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-compare.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-compare.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-externalDependency.R:4:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-externalDependency.R:4:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-externalDependency.R:6:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-fillClusterDesc.R:3:1): (code run outside of `test_that()`) ─────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-fillClusterDesc.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-fillClusterDesc.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-getValues.R:3:1): (code run outside of `test_that()`) ───────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-getValues.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-getValues.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-loadFactor.R:3:1): (code run outside of `test_that()`) ──────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-loadFactor.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-loadFactor.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-mergeAllAntaresData.R:3:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-mergeAllAntaresData.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-mergeAllAntaresData.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-modulation.R:3:1): (code run outside of `test_that()`) ──────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-modulation.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-modulation.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-netLoad.R:3:1): (code run outside of `test_that()`) ─────────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-netLoad.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-netLoad.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-netLoadRamp.R:3:1): (code run outside of `test_that()`) ─────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-netLoadRamp.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-netLoadRamp.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-surplus.R:3:1): (code run outside of `test_that()`) ─────────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-surplus.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-surplus.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-surplusClusters.R:3:1): (code run outside of `test_that()`) ─────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-surplusClusters.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-surplusClusters.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-surplusSectors.R:3:1): (code run outside of `test_that()`) ──────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-surplusSectors.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-surplusSectors.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-synthesize.R:3:1): (code run outside of `test_that()`) ──────────
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-synthesize.R:3:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-synthesize.R:5:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  ── Error (test-thermalGroupCapacities.R:4:1): (code run outside of `test_that()`) ──
  Error: Directory is not an Antares study.
  Backtrace:
      █
   1. └─base::sapply(...) test-thermalGroupCapacities.R:4:0
   2.   └─base::lapply(X = X, FUN = FUN, ...)
   3.     └─antaresProcessing:::FUN(X[[i]], ...)
   4.       └─antaresRead::setSimulationPath(studyPath) test-thermalGroupCapacities.R:6:2
   5.         └─antaresRead:::.getPaths(path, simulation)
  
  [ FAIL 20 | WARN 20 | SKIP 20 | PASS 0 ]
  Error: Test failures
  In addition: Warning message:
  In untar(file.path(sourcedir, "antares-test-study.tar.gz"), exdir = path_latest) :
    'C:/msys64/usr/bin/tar --force-local -xf "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/lib/antaresRead/testdata/antares-test-study.tar.gz" -C "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/antaresProcessing/tmp/RtmpqOSZOg/latest"' returned error code 2
  Execution halted