Running 'testthat.R' [72s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS"="")
  > library(testthat)
  > library(spartan)
  Loading required package: randomForest
  randomForest 4.6-14
  Type rfNews() to see new features/changes/bug fixes.
  Loading required package: e1071
  > options(warn = 2)
  > test_check("spartan", report="summary")
  Test of Spartan Consistency Analysis: ..S.........................................................................................
  Test of A-Test calculation utilities: ..........
  Test of Spartan eFAST Analysis: .........................................................................................................................................trying URL 'http://www.kieranalden.info/spartan/test_data/netlogo_efast.zip'
  Content type 'application/zip' length 505212 bytes (493 KB)
  ==============================
  downloaded 300 KB
  
  1..
  Test of Spartan eFAST Sampling: ......
  Test of Spartan Netlogo eFAST Sampling: S
  Test of Spartan Emulation Sensitivity Analysis: SS
  Testing Spartan Utilities Class: .
  Test of Spartan Evolution Utilities: SS.......
  Test of Error Checking of Spartan Function Arguments: .............................................................................................................................
  Test of Spartan LHC Analysis: .....................................................................................................
  Testing Spartan LHC Plotting Utilities Class: ................................................................
  Test of Spartan Latin-Hypercube Sampling: .....S............
  Test of Spartan Netlogo Latin-Hypercube Sampling: SS
  Test Neural Network Utilities: SSSSSSSSSS
  Test of Spartan Robustness Analysis: ..................................................................................
  Test of Spartan Robustness Sampling: ........S
  Testing Spartan Utilities Class: ....................................
  
  == Skipped =====================================================================
  1. read_simulation_results (@test_aleatory_analysis.R#19) - Reason: On CRAN
  
  2. efast_generate_sample_netlogo (@test_efast_sampling_netlogo.R#7) - Reason: On CRAN
  
  3. emulate_efast_sampled_parameters  (@test_emulation_sensitivity_analysis.R#6) - Reason: On CRAN
  
  4. emulate_lhc_sampled_parameters (@test_emulation_sensitivity_analysis.R#42) - Reason: On CRAN
  
  5. emulator_parameter_evolution (@test_evolution.R#6) - Reason: On CRAN
  
  6. nsga2_set_user_params (@test_evolution.R#40) - Reason: On CRAN
  
  7. sample_parameter_space (@test_lhc_sampling.R#17) - Reason: On CRAN
  
  8. process_netlogo_parameter_range_info (@test_lhc_sampling_netlogo.R#6) - Reason: On CRAN
  
  9. lhc_generate_lhc_sample_netlogo (@test_lhc_sampling_netlogo.R#21) - Reason: On CRAN
  
  10. determine_optimal_neural_network_structure (@test_neural_network_utilities.R#7) - Reason: On CRAN
  
  11. kfoldCrossValidation (@test_neural_network_utilities.R#32) - Reason: On CRAN
  
  12. analysenetwork_structures (@test_neural_network_utilities.R#55) - Reason: On CRAN
  
  13. createAndEvaluateFolds (@test_neural_network_utilities.R#81) - Reason: On CRAN
  
  14. updateErrorForStructure (@test_neural_network_utilities.R#107) - Reason: On CRAN
  
  15. select_suitable_structure (@test_neural_network_utilities.R#137) - Reason: On CRAN
  
  16. calculate_fold_MSE (@test_neural_network_utilities.R#154) - Reason: On CRAN
  
  17. createTrainingFold (@test_neural_network_utilities.R#190) - Reason: On CRAN
  
  18. createTestFold (@test_neural_network_utilities.R#213) - Reason: On CRAN
  
  19. create_neural_network (@test_neural_network_utilities.R#236) - Reason: On CRAN
  
  20. oat_generate_netlogo_behaviour_space_XML (@test_robustness_sampling.R#56) - Reason: On CRAN
  
  == Failed ======================================================================
  -- 1. Error: efast_process_netlogo_result (@test_efast_analysis.R#426)  --------
  (converted from warning) downloaded length 307200 != reported length 505212
  
  == DONE ========================================================================
  Error: Test failures
  Execution halted