Running 'testthat.R' [307s/147s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > #Copyright Â© 2016 RTE RÃ©seau de transport dâÃ©lectricitÃ©
  > 
  > require(testthat)
  Loading required package: testthat
  > require(antaresRead)
  Loading required package: antaresRead
  > require(plyr)
  Loading required package: plyr
  > 
  > 
  > #Maybe include this in some test-file.R 
  > #is.solaris<-function(){
  > #  grepl('SunOS',Sys.info()['sysname'])
  > #}
  > 
  > #if(!is.solaris()){
  > 
  > test_check("antaresRead")
  Loading required namespace: rhdf5
  -- 1. Failure: setSimulationPath reads correct values (@test-setup.R#37)  ------
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 2. Failure: setSimulationPath works if synthesis and some MC years are not sa
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 3. Failure: Select simulation with path (@test-setup.R#102)  ----------------
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 4. Failure: Select simulation by name (@test-setup.R#107)  ------------------
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 5. Failure: Select simulation by index (@test-setup.R#112)  -----------------
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 6. Failure: select simulation with negative index (@test-setup.R#117)  ------
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 7. Failure: setSimulationPath reads correct values (@test-setup.R#37)  ------
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 8. Failure: setSimulationPath works if synthesis and some MC years are not sa
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 9. Failure: Select simulation with path (@test-setup.R#102)  ----------------
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 10. Failure: Select simulation by name (@test-setup.R#107)  -----------------
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 11. Failure: Select simulation by index (@test-setup.R#112)  ----------------
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  -- 12. Failure: select simulation with negative index (@test-setup.R#117)  -----
  opts[names(trueOpts)] not equal to `trueOpts`.
  Component "districtsDef": Datasets have different column modes. First 3: district(character!=numeric) area(character!=numeric)
  
  == testthat results  ===========================================================
  [ OK: 1375 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 12 ]
  1. Failure: setSimulationPath reads correct values (@test-setup.R#37) 
  2. Failure: setSimulationPath works if synthesis and some MC years are not saved (#31) (@test-setup.R#75) 
  3. Failure: Select simulation with path (@test-setup.R#102) 
  4. Failure: Select simulation by name (@test-setup.R#107) 
  5. Failure: Select simulation by index (@test-setup.R#112) 
  6. Failure: select simulation with negative index (@test-setup.R#117) 
  7. Failure: setSimulationPath reads correct values (@test-setup.R#37) 
  8. Failure: setSimulationPath works if synthesis and some MC years are not saved (#31) (@test-setup.R#75) 
  9. Failure: Select simulation with path (@test-setup.R#102) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted