Running ‘testthat.R’ [33s/33s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > if(require(testthat) & require(forecast)){
  +   test_check("forecastHybrid")
  +   }
  Loading required package: testthat
  Loading required package: forecast
  Loading required package: forecastHybrid
  Loading required package: ggplot2
  
  Attaching package: 'forecastHybrid'
  
  The following object is masked from 'package:forecast':
  
      accuracy
  
  Fitting the auto.arima model
  Fitting the ets model
  Fitting the thetam model
  Fitting the nnetar model
  Fitting the stlm model
  Fitting the tbats model
  1. Failure: accuracy generic function works (@test-accuracy.r#4) ---------------
  accuracy(hm) threw an error.
  C stack usage  7970168 is too close to the limit
  
  
  2. Failure: accuracy generic function works (@test-accuracy.r#5) ---------------
  accuracy(hm$ets) threw an error.
  C stack usage  7970168 is too close to the limit
  
  
  3. Failure: accuracy generic function works (@test-accuracy.r#6) ---------------
  accuracy(hm$auto.arima) threw an error.
  C stack usage  7970168 is too close to the limit
  
  
  4. Failure: accuracy generic function works (@test-accuracy.r#7) ---------------
  accuracy(hm$nnetar) threw an error.
  C stack usage  7970168 is too close to the limit
  
  
  5. Failure: accuracy generic function works (@test-accuracy.r#8) ---------------
  accuracy(hm$stlm) threw an error.
  C stack usage  7970168 is too close to the limit
  
  
  6. Failure: accuracy generic function works (@test-accuracy.r#9) ---------------
  accuracy(hm$tbats) threw an error.
  C stack usage  7970168 is too close to the limit
  
  
  7. Failure: accuracy generic function works (@test-accuracy.r#10) --------------
  accuracy(hm$thetam) threw an error.
  C stack usage  7970168 is too close to the limit
  
  
  Fitting fold 1 of 12 
  Fitting fold 1 of 7 
  Fitting fold 2 of 7 
  Fitting fold 3 of 7 
  Fitting fold 4 of 7 
  Fitting fold 5 of 7 
  Fitting fold 6 of 7 
  Fitting fold 7 of 7 
  Fitting fold 1 of 3 
  Fitting fold 2 of 3 
  Fitting fold 3 of 3 
  Fitting fold 1 of 2 
  Fitting fold 2 of 2 
  Fitting fold 1 of 143 
  Fitting fold 2 of 143 
  Fitting fold 3 of 143 
  Fitting fold 4 of 143 
  Fitting fold 5 of 143 
  Fitting fold 6 of 143 
  Fitting fold 7 of 143 
  Fitting fold 8 of 143 
  Fitting fold 9 of 143 
  Fitting fold 10 of 143 
  Fitting fold 11 of 143 
  Fitting fold 12 of 143 
  Fitting fold 13 of 143 
  Fitting fold 14 of 143 
  Fitting fold 15 of 143 
  Fitting fold 16 of 143 
  Fitting fold 17 of 143 
  Fitting fold 18 of 143 
  Fitting fold 19 of 143 
  Fitting fold 20 of 143 
  Fitting fold 21 of 143 
  Fitting fold 22 of 143 
  Fitting fold 23 of 143 
  Fitting fold 24 of 143 
  Fitting fold 25 of 143 
  Fitting fold 26 of 143 
  Fitting fold 27 of 143 
  Fitting fold 28 of 143 
  Fitting fold 29 of 143 
  Fitting fold 30 of 143 
  Fitting fold 31 of 143 
  Fitting fold 32 of 143 
  Fitting fold 33 of 143 
  Fitting fold 34 of 143 
  Fitting fold 35 of 143 
  Fitting fold 36 of 143 
  Fitting fold 37 of 143 
  Fitting fold 38 of 143 
  Fitting fold 39 of 143 
  Fitting fold 40 of 143 
  Fitting fold 41 of 143 
  Fitting fold 42 of 143 
  Fitting fold 43 of 143 
  Fitting fold 44 of 143 
  Fitting fold 45 of 143 
  Fitting fold 46 of 143 
  Fitting fold 47 of 143 
  Fitting fold 48 of 143 
  Fitting fold 49 of 143 
  Fitting fold 50 of 143 
  Fitting fold 51 of 143 
  Fitting fold 52 of 143 
  Fitting fold 53 of 143 
  Fitting fold 54 of 143 
  Fitting fold 55 of 143 
  Fitting fold 56 of 143 
  Fitting fold 57 of 143 
  Fitting fold 58 of 143 
  Fitting fold 59 of 143 
  Fitting fold 60 of 143 
  Fitting fold 61 of 143 
  Fitting fold 62 of 143 
  Fitting fold 63 of 143 
  Fitting fold 64 of 143 
  Fitting fold 65 of 143 
  Fitting fold 66 of 143 
  Fitting fold 67 of 143 
  Fitting fold 68 of 143 
  Fitting fold 69 of 143 
  Fitting fold 70 of 143 
  Fitting fold 71 of 143 
  Fitting fold 72 of 143 
  Fitting fold 73 of 143 
  Fitting fold 74 of 143 
  Fitting fold 75 of 143 
  Fitting fold 76 of 143 
  Fitting fold 77 of 143 
  Fitting fold 78 of 143 
  Fitting fold 79 of 143 
  Fitting fold 80 of 143 
  Fitting fold 81 of 143 
  Fitting fold 82 of 143 
  Fitting fold 83 of 143 
  Fitting fold 84 of 143 
  Fitting fold 85 of 143 
  Fitting fold 86 of 143 
  Fitting fold 87 of 143 
  Fitting fold 88 of 143 
  Fitting fold 89 of 143 
  Fitting fold 90 of 143 
  Fitting fold 91 of 143 
  Fitting fold 92 of 143 
  Fitting fold 93 of 143 
  Fitting fold 94 of 143 
  Fitting fold 95 of 143 
  Fitting fold 96 of 143 
  Fitting fold 97 of 143 
  Fitting fold 98 of 143 
  Fitting fold 99 of 143 
  Fitting fold 100 of 143 
  Fitting fold 101 of 143 
  Fitting fold 102 of 143 
  Fitting fold 103 of 143 
  Fitting fold 104 of 143 
  Fitting fold 105 of 143 
  Fitting fold 106 of 143 
  Fitting fold 107 of 143 
  Fitting fold 108 of 143 
  Fitting fold 109 of 143 
  Fitting fold 110 of 143 
  Fitting fold 111 of 143 
  Fitting fold 112 of 143 
  Fitting fold 113 of 143 
  Fitting fold 114 of 143 
  Fitting fold 115 of 143 
  Fitting fold 116 of 143 
  Fitting fold 117 of 143 
  Fitting fold 118 of 143 
  Fitting fold 119 of 143 
  Fitting fold 120 of 143 
  Fitting fold 121 of 143 
  Fitting fold 122 of 143 
  Fitting fold 123 of 143 
  Fitting fold 124 of 143 
  Fitting fold 125 of 143 
  Fitting fold 126 of 143 
  Fitting fold 127 of 143 
  Fitting fold 128 of 143 
  Fitting fold 129 of 143 
  Fitting fold 130 of 143 
  Fitting fold 131 of 143 
  Fitting fold 132 of 143 
  Fitting fold 133 of 143 
  Fitting fold 134 of 143 
  Fitting fold 135 of 143 
  Fitting fold 136 of 143 
  Fitting fold 137 of 143 
  Fitting fold 138 of 143 
  Fitting fold 139 of 143 
  Fitting fold 140 of 143 
  Fitting fold 141 of 143 
  Fitting fold 142 of 143 
  Fitting fold 143 of 143 
  Fitting fold 1 of 11 
  Fitting fold 2 of 11 
  Fitting fold 3 of 11 
  Fitting fold 4 of 11 
  Fitting fold 5 of 11 
  Fitting fold 6 of 11 
  Fitting fold 7 of 11 
  Fitting fold 8 of 11 
  Fitting fold 9 of 11 
  Fitting fold 10 of 11 
  Fitting fold 11 of 11 
  Fitting fold 1 of 143 
  Fitting fold 2 of 143 
  Fitting fold 3 of 143 
  Fitting fold 4 of 143 
  Fitting fold 5 of 143 
  Fitting fold 6 of 143 
  Fitting fold 7 of 143 
  Fitting fold 8 of 143 
  Fitting fold 9 of 143 
  Fitting fold 10 of 143 
  Fitting fold 11 of 143 
  Fitting fold 12 of 143 
  Fitting fold 13 of 143 
  Fitting fold 14 of 143 
  Fitting fold 15 of 143 
  Fitting fold 16 of 143 
  Fitting fold 17 of 143 
  Fitting fold 18 of 143 
  Fitting fold 19 of 143 
  Fitting fold 20 of 143 
  Fitting fold 21 of 143 
  Fitting fold 22 of 143 
  Fitting fold 23 of 143 
  Fitting fold 24 of 143 
  Fitting fold 25 of 143 
  Fitting fold 26 of 143 
  Fitting fold 27 of 143 
  Fitting fold 28 of 143 
  Fitting fold 29 of 143 
  Fitting fold 30 of 143 
  Fitting fold 31 of 143 
  Fitting fold 32 of 143 
  Fitting fold 33 of 143 
  Fitting fold 34 of 143 
  Fitting fold 35 of 143 
  Fitting fold 36 of 143 
  Fitting fold 37 of 143 
  Fitting fold 38 of 143 
  Fitting fold 39 of 143 
  Fitting fold 40 of 143 
  Fitting fold 41 of 143 
  Fitting fold 42 of 143 
  Fitting fold 43 of 143 
  Fitting fold 44 of 143 
  Fitting fold 45 of 143 
  Fitting fold 46 of 143 
  Fitting fold 47 of 143 
  Fitting fold 48 of 143 
  Fitting fold 49 of 143 
  Fitting fold 50 of 143 
  Fitting fold 51 of 143 
  Fitting fold 52 of 143 
  Fitting fold 53 of 143 
  Fitting fold 54 of 143 
  Fitting fold 55 of 143 
  Fitting fold 56 of 143 
  Fitting fold 57 of 143 
  Fitting fold 58 of 143 
  Fitting fold 59 of 143 
  Fitting fold 60 of 143 
  Fitting fold 61 of 143 
  Fitting fold 62 of 143 
  Fitting fold 63 of 143 
  Fitting fold 64 of 143 
  Fitting fold 65 of 143 
  Fitting fold 66 of 143 
  Fitting fold 67 of 143 
  Fitting fold 68 of 143 
  Fitting fold 69 of 143 
  Fitting fold 70 of 143 
  Fitting fold 71 of 143 
  Fitting fold 72 of 143 
  Fitting fold 73 of 143 
  Fitting fold 74 of 143 
  Fitting fold 75 of 143 
  Fitting fold 76 of 143 
  Fitting fold 77 of 143 
  Fitting fold 78 of 143 
  Fitting fold 79 of 143 
  Fitting fold 80 of 143 
  Fitting fold 81 of 143 
  Fitting fold 82 of 143 
  Fitting fold 83 of 143 
  Fitting fold 84 of 143 
  Fitting fold 85 of 143 
  Fitting fold 86 of 143 
  Fitting fold 87 of 143 
  Fitting fold 88 of 143 
  Fitting fold 89 of 143 
  Fitting fold 90 of 143 
  Fitting fold 91 of 143 
  Fitting fold 92 of 143 
  Fitting fold 93 of 143 
  Fitting fold 94 of 143 
  Fitting fold 95 of 143 
  Fitting fold 96 of 143 
  Fitting fold 97 of 143 
  Fitting fold 98 of 143 
  Fitting fold 99 of 143 
  Fitting fold 100 of 143 
  Fitting fold 101 of 143 
  Fitting fold 102 of 143 
  Fitting fold 103 of 143 
  Fitting fold 104 of 143 
  Fitting fold 105 of 143 
  Fitting fold 106 of 143 
  Fitting fold 107 of 143 
  Fitting fold 108 of 143 
  Fitting fold 109 of 143 
  Fitting fold 110 of 143 
  Fitting fold 111 of 143 
  Fitting fold 112 of 143 
  Fitting fold 113 of 143 
  Fitting fold 114 of 143 
  Fitting fold 115 of 143 
  Fitting fold 116 of 143 
  Fitting fold 117 of 143 
  Fitting fold 118 of 143 
  Fitting fold 119 of 143 
  Fitting fold 120 of 143 
  Fitting fold 121 of 143 
  Fitting fold 122 of 143 
  Fitting fold 123 of 143 
  Fitting fold 124 of 143 
  Fitting fold 125 of 143 
  Fitting fold 126 of 143 
  Fitting fold 127 of 143 
  Fitting fold 128 of 143 
  Fitting fold 129 of 143 
  Fitting fold 130 of 143 
  Fitting fold 131 of 143 
  Fitting fold 132 of 143 
  Fitting fold 133 of 143 
  Fitting fold 134 of 143 
  Fitting fold 135 of 143 
  Fitting fold 136 of 143 
  Fitting fold 137 of 143 
  Fitting fold 138 of 143 
  Fitting fold 139 of 143 
  Fitting fold 140 of 143 
  Fitting fold 141 of 143 
  Fitting fold 142 of 143 
  Fitting fold 143 of 143 
  Fitting fold 1 of 12 
  Fitting fold 2 of 12 
  Fitting fold 3 of 12 
  Fitting fold 4 of 12 
  Fitting fold 5 of 12 
  Fitting fold 6 of 12 
  Fitting fold 7 of 12 
  Fitting fold 8 of 12 
  Fitting fold 9 of 12 
  Fitting fold 10 of 12 
  Fitting fold 11 of 12 
  Fitting fold 12 of 12 
  Fitting fold 1 of 8 
  Fitting fold 2 of 8 
  Fitting fold 3 of 8 
  Fitting fold 4 of 8 
  Fitting fold 5 of 8 
  Fitting fold 6 of 8 
  Fitting fold 7 of 8 
  Fitting fold 8 of 8 
  Fitting fold 1 of 22 
  Fitting fold 2 of 22 
  Fitting fold 3 of 22 
  Fitting fold 4 of 22 
  Fitting fold 5 of 22 
  Fitting fold 6 of 22 
  Fitting fold 7 of 22 
  Fitting fold 8 of 22 
  Fitting fold 9 of 22 
  Fitting fold 10 of 22 
  Fitting fold 11 of 22 
  Fitting fold 12 of 22 
  Fitting fold 13 of 22 
  Fitting fold 14 of 22 
  Fitting fold 15 of 22 
  Fitting fold 16 of 22 
  Fitting fold 17 of 22 
  Fitting fold 18 of 22 
  Fitting fold 19 of 22 
  Fitting fold 20 of 22 
  Fitting fold 21 of 22 
  Fitting fold 22 of 22 
  Fitting the auto.arima model
  Fitting the ets model
  Fitting the thetam model
  Fitting the nnetar model
  Fitting the stlm model
  Fitting the tbats model
  Fitting the auto.arima model
  Fitting the thetam model
  Fitting the nnetar model
  Fitting the stlm model
  Fitting the auto.arima model
  Fitting the ets model
  Fitting the thetam model
  Fitting the nnetar model
  Fitting the stlm model
  Fitting the tbats model
  Fitting the auto.arima model
  Fitting the ets model
  Fitting the nnetar model
  Fitting the tbats model
  Hybrid forecast model comprised of the following models: auto.arima, ets, nnetar, tbats
  ############
  auto.arima with weight 0.25 
  ############
  ets with weight 0.25 
  ############
  nnetar with weight 0.25 
  ############
  tbats with weight 0.25 
  Hybrid forecast model comprised of the following models: auto.arima, ets, nnetar, tbats
  ############
  auto.arima with weight 0.25 
  ############
  ets with weight 0.25 
  ############
  nnetar with weight 0.25 
  ############
  tbats with weight 0.25 
  Fitting the auto.arima model
  Fitting the auto.arima model
  Fitting the ets model
  Fitting the thetam model
  Fitting the nnetar model
  Fitting the stlm model
  Fitting the tbats model
  Error: C stack usage  7969544 is too close to the limit
  testthat results ================================================================
  OK: 59 SKIPPED: 0 FAILED: 7
  1. Failure: accuracy generic function works (@test-accuracy.r#4) 
  2. Failure: accuracy generic function works (@test-accuracy.r#5) 
  3. Failure: accuracy generic function works (@test-accuracy.r#6) 
  4. Failure: accuracy generic function works (@test-accuracy.r#7) 
  5. Failure: accuracy generic function works (@test-accuracy.r#8) 
  6. Failure: accuracy generic function works (@test-accuracy.r#9) 
  7. Failure: accuracy generic function works (@test-accuracy.r#10) 
  
  Error: testthat unit tests failed
  Execution halted