Running ‘testthat.R’ [11m/12m]
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
  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 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 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 stlm model
  Fitting the auto.arima model
  Fitting the ets 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
  Fitting the thetam model
  Fitting the stlm model
  Fitting the thetam model
  Fitting the stlm model
  Fitting the thetam model
  Fitting the stlm model
  Fitting the thetam model
  Fitting the nnetar model
  Fitting the thetam model
  Fitting the stlm model
  Fitting the nnetar model
  Fitting the stlm model
  Fitting the ets model
  Fitting the thetam model
  Fitting the thetam model
  Fitting the stlm model
  Fitting the auto.arima model
  Fitting the ets model
  Fitting the ets model
  Fitting the nnetar 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 thetam model
  Fitting the stlm model
  Fitting the auto.arima model
  Fitting the ets model
  Fitting the auto.arima model
  Fitting the ets model
  Fitting the auto.arima model
  Fitting the tbats model
  Fitting the auto.arima model
  Fitting the ets model
  Fitting the nnetar model
  Fitting the tbats 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
  1. Failure: Testing is.hybridModel(), fitted.hybridModel(), residuals.hybridModel(), and accuracy.hybridModel() (@test-hybridModel.R#73) 
  plot(exampleModel, type = "fit", ggplot = TRUE) threw an error.
  do not know how to convert 'time(x$x)' to class "Date"
  
  
  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
  Cross validating the auto.arima model
  Cross validating the ets model
  Cross validating the thetam model
  Cross validating the nnetar model
  Cross validating the stlm model
  Cross validating the tbats model
  Fitting the auto.arima model
  Fitting the nnetar model
  Fitting the stlm model
  Fitting the tbats model
  Fitting the ets model
  Fitting the thetam model
  testthat results ================================================================
  OK: 110 SKIPPED: 0 FAILED: 1
  1. Failure: Testing is.hybridModel(), fitted.hybridModel(), residuals.hybridModel(), and accuracy.hybridModel() (@test-hybridModel.R#73) 
  
  Error: testthat unit tests failed
  Execution halted