'LazyData' is specified without a 'data' directory
Running 'testthat.R' [40s/46s]
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")
  Scenario Builder updated
  Scenario Builder updated
  == Failed tests ================================================================
  -- Error (test-scenarioBuilder.R:63:5): readScenarioBuilder works --------------
  Error: data length differs from size of matrix: [10 != 1 x 2]
  Backtrace:
      x
   1. +-testthat::expect_identical(...) test-scenarioBuilder.R:63:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-antaresEditObject::readScenarioBuilder()
   5.   \-base::lapply(...)
   6.     \-antaresEditObject:::FUN(X[[i]], ...)
   7.       \-base::matrix(...)
  -- Error (test-scenarioBuilder.R:101:5): updateScenarioBuilder works -----------
  Error: data length differs from size of matrix: [10 != 1 x 2]
  Backtrace:
      x
   1. \-antaresEditObject::readScenarioBuilder(as_matrix = TRUE) test-scenarioBuilder.R:101:4
   2.   \-base::lapply(...)
   3.     \-antaresEditObject:::FUN(X[[i]], ...)
   4.       \-base::matrix(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 183 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’ [29s/43s]
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")
  Scenario Builder updated
  Scenario Builder updated
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-scenarioBuilder.R:63:5): readScenarioBuilder works ──────────────
  Error: data length differs from size of matrix: [10 != 1 x 2]
  Backtrace:
      █
   1. ├─testthat::expect_identical(...) test-scenarioBuilder.R:63:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─antaresEditObject::readScenarioBuilder()
   5.   └─base::lapply(...)
   6.     └─antaresEditObject:::FUN(X[[i]], ...)
   7.       └─base::matrix(...)
  ── Error (test-scenarioBuilder.R:101:5): updateScenarioBuilder works ───────────
  Error: data length differs from size of matrix: [10 != 1 x 2]
  Backtrace:
      █
   1. └─antaresEditObject::readScenarioBuilder(as_matrix = TRUE) test-scenarioBuilder.R:101:4
   2.   └─base::lapply(...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─base::matrix(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 183 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’ [46s/52s]
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")
  Scenario Builder updated
  Scenario Builder updated
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-scenarioBuilder.R:63:5): readScenarioBuilder works ──────────────
  Error: data length differs from size of matrix: [10 != 1 x 2]
  Backtrace:
      █
   1. ├─testthat::expect_identical(...) test-scenarioBuilder.R:63:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─antaresEditObject::readScenarioBuilder()
   5.   └─base::lapply(...)
   6.     └─antaresEditObject:::FUN(X[[i]], ...)
   7.       └─base::matrix(...)
  ── Error (test-scenarioBuilder.R:101:5): updateScenarioBuilder works ───────────
  Error: data length differs from size of matrix: [10 != 1 x 2]
  Backtrace:
      █
   1. └─antaresEditObject::readScenarioBuilder(as_matrix = TRUE) test-scenarioBuilder.R:101:4
   2.   └─base::lapply(...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─base::matrix(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 183 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’ [46s/54s]
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")
  Scenario Builder updated
  Scenario Builder updated
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-scenarioBuilder.R:63:5): readScenarioBuilder works ──────────────
  Error: data length differs from size of matrix: [10 != 1 x 2]
  Backtrace:
      █
   1. ├─testthat::expect_identical(...) test-scenarioBuilder.R:63:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─antaresEditObject::readScenarioBuilder()
   5.   └─base::lapply(...)
   6.     └─antaresEditObject:::FUN(X[[i]], ...)
   7.       └─base::matrix(...)
  ── Error (test-scenarioBuilder.R:101:5): updateScenarioBuilder works ───────────
  Error: data length differs from size of matrix: [10 != 1 x 2]
  Backtrace:
      █
   1. └─antaresEditObject::readScenarioBuilder(as_matrix = TRUE) test-scenarioBuilder.R:101:4
   2.   └─base::lapply(...)
   3.     └─antaresEditObject:::FUN(X[[i]], ...)
   4.       └─base::matrix(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 183 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory