Running ‘testthat.R’ [27s/58s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > library(xgboost)
  > library(randomForest)
  randomForest 4.7-1.2
  Type rfNews() to see new features/changes/bug fixes.
  > library(thief)
  Loading required package: forecast
  > library(smooth)
  Loading required package: greybox
  Package "greybox", v2.0.6 loaded.
  
  This is package "smooth", v4.3.1
  
  > library(greybox)
  > 
  > library(stats)
  > 
  > library(tidymodels)
  ── Attaching packages ────────────────────────────────────── tidymodels 1.4.1 ──
  ✔ broom        1.0.11     ✔ recipes      1.3.1 
  ✔ dials        1.4.2      ✔ rsample      1.3.1 
  ✔ dplyr        1.1.4      ✔ tailor       0.1.0 
  ✔ ggplot2      4.0.1      ✔ tidyr        1.3.1 
  ✔ infer        1.0.9      ✔ tune         2.0.1 
  ✔ modeldata    1.5.1      ✔ workflows    1.3.0 
  ✔ parsnip      1.4.0      ✔ workflowsets 1.1.1 
  ✔ purrr        1.2.0      ✔ yardstick    1.3.2 
  ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
  ✖ yardstick::accuracy() masks smooth::accuracy(), greybox::accuracy(), forecast::accuracy()
  ✖ dplyr::combine()      masks randomForest::combine()
  ✖ purrr::discard()      masks scales::discard()
  ✖ dplyr::filter()       masks stats::filter()
  ✖ dplyr::lag()          masks stats::lag()
  ✖ ggplot2::margin()     masks randomForest::margin()
  ✖ parsnip::pls()        masks smooth::pls()
  ✖ tidyr::spread()       masks greybox::spread()
  ✖ recipes::step()       masks stats::step()
  > library(parsnip)
  > library(workflows)
  > library(rsample)
  > library(recipes)
  > library(tune)
  > library(dials)
  > library(yardstick)
  > library(slider)
  > 
  > library(timetk)
  > library(modeltime)
  > 
  > test_check("modeltime")
  Saving _problems/test-algo-prophet_boost-120.R
  [ FAIL 1 | WARN 0 | SKIP 80 | PASS 0 ]
  
  ══ Skipped tests (80) ══════════════════════════════════════════════════════════
  • On CRAN (80): 'test-algo-adam_reg-Adam.R:12:5',
    'test-algo-adam_reg-Adam.R:111:5', 'test-algo-adam_reg-auto_adam.R:13:5',
    'test-algo-adam_reg-auto_adam.R:63:5',
    'test-algo-adam_reg-auto_adam.R:120:5', 'test-algo-arima_boost-Arima.R:57:5',
    'test-algo-arima_boost-Arima.R:114:5', 'test-algo-arima_boost-Arima.R:190:5',
    'test-algo-arima_boost-auto_arima.R:41:5',
    'test-algo-arima_boost-auto_arima.R:98:5',
    'test-algo-arima_boost-auto_arima.R:172:5',
    'test-algo-arima_reg-Arima.R:35:5', 'test-algo-arima_reg-Arima.R:89:5',
    'test-algo-arima_reg-Arima.R:145:5', 'test-algo-arima_reg-auto_arima.R:20:5',
    'test-algo-arima_reg-auto_arima.R:76:5',
    'test-algo-arima_reg-auto_arima.R:137:5',
    'test-algo-exp_smoothing-ets.R:25:5', 'test-algo-exp_smoothing-ets.R:82:5',
    'test-algo-exp_smoothing-ets.R:159:5', 'test-algo-exp_smoothing-ets.R:234:5',
    'test-algo-exp_smoothing-ets.R:312:5', 'test-algo-exp_smoothing-ets.R:373:5',
    'test-algo-nnetar_reg.R:21:5', 'test-algo-nnetar_reg.R:146:5',
    'test-algo-prophet_boost.R:44:5', 'test-algo-prophet_boost.R:206:5',
    'test-algo-prophet_boost.R:313:5', 'test-algo-prophet_reg.R:35:5',
    'test-algo-prophet_reg.R:105:5', 'test-algo-prophet_reg.R:178:5',
    'test-algo-prophet_reg.R:266:5', 'test-algo-seasonal_decomp_arima.R:8:5',
    'test-algo-seasonal_decomp_ets.R:10:5',
    'test-algo-seasonal_reg_tbats.R:20:5', 'test-algo-seasonal_reg_tbats.R:35:5',
    'test-algo-seasonal_reg_tbats.R:93:5', 'test-algo-temporal_hierarchy.R:8:5',
    'test-algo-window_reg.R:24:5', 'test-algo-window_reg.R:69:5',
    'test-algo-window_reg.R:100:5', 'test-algo-window_reg.R:153:5',
    'test-algo-window_reg.R:206:5', 'test-algo-window_reg.R:241:5',
    'test-algo-window_reg.R:293:5', 'test-algo-window_reg.R:363:5',
    'test-algo-window_reg.R:402:5', 'test-conf_by_id.R:6:5',
    'test-default_accuracy_metric_sets.R:9:5',
    'test-default_accuracy_metric_sets.R:29:5',
    'test-developer-tools-constructor.R:10:5',
    'test-developer-tools-xregs.R:26:5', 'test-developer-tools-xregs.R:47:5',
    'test-extended_accuracy_metric_set.R:7:5',
    'test-extended_accuracy_metric_set.R:28:5', 'test-fit_workflowsets.R:13:5',
    'test-helpers-combine-modeltime-tables.R:8:5',
    'test-helpers-pull_parsnip_preprocessor.R:14:5',
    'test-helpers-pull_parsnip_preprocessor.R:33:5',
    'test-helpers-pull_parsnip_preprocessor.R:51:5',
    'test-helpers-pull_parsnip_preprocessor.R:69:5',
    'test-helpers-update-modeltime-tables.R:9:5',
    'test-modeltime_residuals.R:6:5',
    'test-modeltime_table-forecast-accuracy-refitting.R:20:5',
    'test-modeltime_table-forecast-accuracy-refitting.R:84:5',
    'test-modeltime_table-forecast-accuracy-refitting.R:149:5',
    'test-modeltime_table-no-calib-refit.R:16:5', 'test-nested-modeltime.R:10:5',
    'test-panel-data.R:8:5', 'test-recursive-chunk-uneven.R:9:5',
    'test-recursive-chunk-uneven.R:331:5', 'test-recursive-chunk.R:9:5',
    'test-recursive.R:9:3', 'test-refit-parallel.R:5:5',
    'test-results-accuracy-tables.R:15:5',
    'test-results-accuracy-tables.R:149:5', 'test-results-forecast-plots.R:14:5',
    'test-results-forecast-plots.R:87:5', 'test-results-residuals-tests.R:9:5',
    'test-tune_workflows.R:8:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-algo-prophet_boost.R:118:5'): prophet_boost: prophet, XREGS ────
  Error in `switch(object$params$objective, `reg:linear` = , `reg:logistic` = , `binary:logistic` = res, `binary:logitraw` = stats::binomial()$linkinv(res), `multi:softprob` = matrix(res, ncol = object$params$num_class, byrow = TRUE), res)`: EXPR must be a length 1 vector
  Backtrace:
      ▆
   1. ├─model_spec %>% ... at test-algo-prophet_boost.R:118:5
   2. ├─generics::fit(...)
   3. ├─parsnip::fit.model_spec(...)
   4. │ └─parsnip:::form_xy(...)
   5. │   └─parsnip:::xy_xy(...)
   6. │     └─parsnip:::eval_mod(...)
   7. │       └─rlang::eval_tidy(e, env = envir, ...)
   8. └─modeltime::prophet_xgboost_fit_impl(...)
   9.   └─modeltime::xgboost_predict(fit_xgboost, newdata = xreg_tbl)
  
  [ FAIL 1 | WARN 0 | SKIP 80 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted