Running 'testthat.R' [40s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > # Machine Learning
  > library(tidymodels)
  ── Attaching packages ────────────────────────────────────── tidymodels 1.5.0 ──
  ✔ broom        1.0.13     ✔ recipes      1.3.3 
  ✔ dials        1.4.4      ✔ rsample      1.3.2 
  ✔ dplyr        1.2.1      ✔ tailor       0.1.0 
  ✔ ggplot2      4.0.3      ✔ tidyr        1.3.2 
  ✔ infer        1.1.0      ✔ tune         2.1.0 
  ✔ modeldata    1.5.1      ✔ workflows    1.3.0 
  ✔ parsnip      1.6.0      ✔ workflowsets 1.1.1 
  ✔ purrr        1.2.2      ✔ yardstick    1.4.0 
  ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
  ✖ purrr::discard() masks scales::discard()
  ✖ dplyr::filter()  masks stats::filter()
  ✖ dplyr::lag()     masks stats::lag()
  ✖ recipes::step()  masks stats::step()
  > library(modeltime)
  > library(modeltime.ensemble)
  Loading required package: modeltime.resample
  > library(modeltime.resample)
  > 
  > # Model dependencies
  > library(xgboost)
  > library(glmnet)
  Loading required package: Matrix
  
  Attaching package: 'Matrix'
  
  The following objects are masked from 'package:tidyr':
  
      expand, pack, unpack
  
  Loaded glmnet 5.0
  > 
  > # Core Packages
  > library(timetk)
  > library(lubridate)
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > 
  > test_check("modeltime.ensemble")
  Saving _problems/test-ensemble_average-23.R
  Saving _problems/test-ensemble_model_spec-20.R
  Saving _problems/test-ensemble_weighted-22.R
  
  
  Saving _problems/test-nested-ensembles-90.R
  
  
  Saving _problems/test-nested-ensembles-114.R
  Saving _problems/test-nested-ensembles-115.R
  
  
  Saving _problems/test-nested-ensembles-131.R
  Saving _problems/test-nested-ensembles-132.R
  Saving _problems/test-nested-ensembles-151.R
  
  
  Saving _problems/test-nested-ensembles-181.R
  Saving _problems/test-panel-data-25.R
  [ FAIL 11 | WARN 6 | SKIP 2 | PASS 18 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-conf_by_id.R:6:5', 'test-nested-ensembles.R:189:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ensemble_average.R:16:1'): (code run outside of `test_that()`) ──
  Error in `fit_xy(spec, x = mold$predictors, y = mold$outcomes, case_weights = case_weights, control = control_parsnip)`: Please install the prophet package to use this engine.
  Backtrace:
       ▆
    1. ├─... %>% fit(training(m750_splits)) at test-ensemble_average.R:16:1
    2. ├─generics::fit(., training(m750_splits))
    3. └─workflows:::fit.workflow(., training(m750_splits))
    4.   └─workflows::.fit_model(workflow, control)
    5.     ├─generics::fit(action_model, workflow = workflow, control = control)
    6.     └─workflows:::fit.action_model(...)
    7.       └─workflows:::fit_from_xy(spec, mold, case_weights, control_parsnip)
    8.         ├─generics::fit_xy(...)
    9.         └─parsnip::fit_xy.model_spec(...)
   10.           └─parsnip:::check_installs(object)
   11.             └─cli::cli_abort(...)
   12.               └─rlang::abort(...)
  ── Error ('test-ensemble_model_spec.R:13:1'): (code run outside of `test_that()`) ──
  Error in `fit_xy(spec, x = mold$predictors, y = mold$outcomes, case_weights = case_weights, control = control_parsnip)`: Please install the prophet package to use this engine.
  Backtrace:
       ▆
    1. ├─... %>% fit(training(m750_splits)) at test-ensemble_model_spec.R:13:1
    2. ├─generics::fit(., training(m750_splits))
    3. └─workflows:::fit.workflow(., training(m750_splits))
    4.   └─workflows::.fit_model(workflow, control)
    5.     ├─generics::fit(action_model, workflow = workflow, control = control)
    6.     └─workflows:::fit.action_model(...)
    7.       └─workflows:::fit_from_xy(spec, mold, case_weights, control_parsnip)
    8.         ├─generics::fit_xy(...)
    9.         └─parsnip::fit_xy.model_spec(...)
   10.           └─parsnip:::check_installs(object)
   11.             └─cli::cli_abort(...)
   12.               └─rlang::abort(...)
  ── Error ('test-ensemble_weighted.R:15:1'): (code run outside of `test_that()`) ──
  Error in `fit_xy(spec, x = mold$predictors, y = mold$outcomes, case_weights = case_weights, control = control_parsnip)`: Please install the prophet package to use this engine.
  Backtrace:
       ▆
    1. ├─... %>% fit(training(m750_splits)) at test-ensemble_weighted.R:15:1
    2. ├─generics::fit(., training(m750_splits))
    3. └─workflows:::fit.workflow(., training(m750_splits))
    4.   └─workflows::.fit_model(workflow, control)
    5.     ├─generics::fit(action_model, workflow = workflow, control = control)
    6.     └─workflows:::fit.action_model(...)
    7.       └─workflows:::fit_from_xy(spec, mold, case_weights, control_parsnip)
    8.         ├─generics::fit_xy(...)
    9.         └─parsnip::fit_xy.model_spec(...)
   10.           └─parsnip:::check_installs(object)
   11.             └─cli::cli_abort(...)
   12.               └─rlang::abort(...)
  ── Failure ('test-nested-ensembles.R:88:5'): Nested Ensembles Work - sequential ──
  Expected `model_table$.model_desc[4]` to equal "ENSEMBLE (MEAN): 2 MODELS".
  Differences:
  1/1 mismatches
  x[1]: NA
  y[1]: "ENSEMBLE (MEAN): 2 MODELS"
  ── Failure ('test-nested-ensembles.R:114:5'): Nested Ensembles Work - sequential ──
  Expected `loadings_tbl$.loadings` to have type "double".
  Actual type: "NULL"
  ── Failure ('test-nested-ensembles.R:115:5'): Nested Ensembles Work - sequential ──
  Expected `loadings_tbl$.loadings` to have length 2.
  Actual length: 0.
  ── Failure ('test-nested-ensembles.R:131:5'): Nested Ensembles Work - sequential ──
  Expected `loadings_tbl$.loadings` to have type "double".
  Actual type: "NULL"
  ── Failure ('test-nested-ensembles.R:132:5'): Nested Ensembles Work - sequential ──
  Expected `loadings_tbl$.loadings` to have length 1.
  Actual length: 0.
  ── Failure ('test-nested-ensembles.R:151:5'): Nested Ensembles Work - sequential ──
  Expected `metrics_rsq$model_5` to equal `metrics_rsq$check`.
  Differences:
  target is NULL, current is numeric
  ── Failure ('test-nested-ensembles.R:181:5'): Nested Ensembles Work - sequential ──
  Expected `metrics_rmse$model_5` to equal `metrics_rmse$check`.
  Differences:
  target is NULL, current is numeric
  ── Error ('test-panel-data.R:16:1'): (code run outside of `test_that()`) ───────
  Error in `fit_xy(spec, x = mold$predictors, y = mold$outcomes, case_weights = case_weights, control = control_parsnip)`: Please install the prophet package to use this engine.
  Backtrace:
       ▆
    1. ├─... %>% fit(data_set) at test-panel-data.R:16:1
    2. ├─generics::fit(., data_set)
    3. └─workflows:::fit.workflow(., data_set)
    4.   └─workflows::.fit_model(workflow, control)
    5.     ├─generics::fit(action_model, workflow = workflow, control = control)
    6.     └─workflows:::fit.action_model(...)
    7.       └─workflows:::fit_from_xy(spec, mold, case_weights, control_parsnip)
    8.         ├─generics::fit_xy(...)
    9.         └─parsnip::fit_xy.model_spec(...)
   10.           └─parsnip:::check_installs(object)
   11.             └─cli::cli_abort(...)
   12.               └─rlang::abort(...)
  
  [ FAIL 11 | WARN 6 | SKIP 2 | PASS 18 ]
  Error:
  ! Test failures.
  Execution halted