CRAN Package Check Results for Package modeltime.ensemble

Last updated on 2022-10-03 12:53:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 36.59 453.02 489.61 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 28.24 338.05 366.29 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 598.56 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 573.95 ERROR
r-devel-windows-x86_64 1.0.1 78.00 451.00 529.00 ERROR
r-patched-linux-x86_64 1.0.1 34.39 405.88 440.27 ERROR
r-release-linux-x86_64 1.0.1 30.18 423.78 453.96 ERROR
r-release-macos-arm64 1.0.1 148.00 NOTE
r-release-macos-x86_64 1.0.1 211.00 NOTE
r-release-windows-x86_64 1.0.1 80.00 462.00 542.00 ERROR
r-oldrel-macos-arm64 1.0.1 143.00 NOTE
r-oldrel-macos-x86_64 1.0.1 209.00 NOTE
r-oldrel-windows-ix86+x86_64 1.0.1 77.00 467.00 544.00 ERROR

Check Details

Version: 1.0.1
Check: tests
Result: ERROR
     Running 'testthat.R' [140s/165s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     >
     > # Machine Learning
     > library(tidymodels)
     -- Attaching packages -------------------------------------- tidymodels 1.0.0 --
     v broom 1.0.1 v recipes 1.0.1
     v dials 1.0.0 v rsample 1.1.0
     v dplyr 1.0.10 v tibble 3.1.8
     v ggplot2 3.3.6 v tidyr 1.2.1
     v infer 1.0.3 v tune 1.0.0
     v modeldata 1.0.1 v workflows 1.1.0
     v parsnip 1.0.1 v workflowsets 1.0.0
     v purrr 0.3.4 v yardstick 1.1.0
     -- Conflicts ----------------------------------------- tidymodels_conflicts() --
     x purrr::discard() masks scales::discard()
     x dplyr::filter() masks stats::filter()
     x purrr::is_null() masks testthat::is_null()
     x dplyr::lag() masks stats::lag()
     x tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     x recipes::step() masks stats::step()
     * Use suppressPackageStartupMessages() to eliminate package startup messages
     > library(modeltime)
     > library(modeltime.ensemble)
     Loading required package: modeltime.resample
     > library(modeltime.resample)
     >
     > # Model dependencies
     > library(xgboost)
    
     Attaching package: 'xgboost'
    
     The following object is masked from 'package:dplyr':
    
     slice
    
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
    
     Attaching package: 'plotrix'
    
     The following object is masked from 'package:scales':
    
     rescale
    
     Loading required package: TeachingDemos
     > library(glmnet)
     Loading required package: Matrix
    
     Attaching package: 'Matrix'
    
     The following objects are masked from 'package:tidyr':
    
     expand, pack, unpack
    
     Loaded glmnet 4.1-4
     >
     > # Core Packages
     > library(tidyverse)
     -- Attaching packages --------------------------------------- tidyverse 1.3.2 --
     v readr 2.1.2 v forcats 0.5.2
     v stringr 1.4.1
     -- Conflicts ------------------------------------------ tidyverse_conflicts() --
     x readr::col_factor() masks scales::col_factor()
     x purrr::discard() masks scales::discard()
     x readr::edition_get() masks testthat::edition_get()
     x Matrix::expand() masks tidyr::expand()
     x dplyr::filter() masks stats::filter()
     x stringr::fixed() masks recipes::fixed()
     x purrr::is_null() masks testthat::is_null()
     x dplyr::lag() masks stats::lag()
     x readr::local_edition() masks testthat::local_edition()
     x tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     x Matrix::pack() masks tidyr::pack()
     x xgboost::slice() masks dplyr::slice()
     x readr::spec() masks yardstick::spec()
     x Matrix::unpack() masks tidyr::unpack()
     > library(timetk)
     > library(lubridate)
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     >
     > test_check("modeltime.ensemble")
     -- Modeltime Ensemble -------------------------------------------
     Ensemble of 3 Models (WEIGHTED)
    
     # Modeltime Table
     # A tibble: 3 x 4
     .model_id .model .model_desc .loadings
     <int> <list> <chr> <dbl>
     1 1 <workflow> ARIMA(0,1,1)(0,1,1)[12] 0.5
     2 2 <workflow> PROPHET 0.333
     3 3 <workflow> GLMNET 0.167
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
    
     == Skipped tests ===============================================================
     * On CRAN (5)
    
     == Failed tests ================================================================
     -- Error (test-nested-ensembles.R:56:5): Nested Ensembles Work - sequential ----
     Error in `add_model(., boost_tree())`: `spec` must have a known mode.
     i Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     x
     1. +-workflow() %>% add_model(boost_tree()) %>% ... at test-nested-ensembles.R:56:4
     2. +-workflows::add_recipe(., recipe_bad)
     3. | \-workflows:::add_action(x, action, "recipe")
     4. | \-workflows:::validate_is_workflow(x, call = call)
     5. | \-workflows:::is_workflow(x)
     6. \-workflows::add_model(., boost_tree())
     7. \-workflows:::new_action_model(spec, formula)
     8. \-rlang::abort(message, call = call)
     -- Error (test-panel-data.R:28:1): (code run outside of `test_that()`) ---------
     Error in `add_model(., boost_tree() %>% set_engine("xgboost"))`: `spec` must have a known mode.
     i Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     x
     1. +-... %>% fit(data_set) at test-panel-data.R:28:0
     2. +-generics::fit(., data_set)
     3. +-workflows::add_recipe(., recipe_spec %>% step_rm(date))
     4. | \-workflows:::add_action(x, action, "recipe")
     5. | \-workflows:::validate_is_workflow(x, call = call)
     6. | \-workflows:::is_workflow(x)
     7. \-workflows::add_model(., boost_tree() %>% set_engine("xgboost"))
     8. \-workflows:::new_action_model(spec, formula)
     9. \-rlang::abort(message, call = call)
    
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [95s/158s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     >
     > # Machine Learning
     > library(tidymodels)
     ── Attaching packages ────────────────────────────────────── tidymodels 1.0.0 ──
     ✔ broom 1.0.1 ✔ recipes 1.0.1
     ✔ dials 1.0.0 ✔ rsample 1.1.0
     ✔ dplyr 1.0.10 ✔ tibble 3.1.8
     ✔ ggplot2 3.3.6 ✔ tidyr 1.2.1
     ✔ infer 1.0.3 ✔ tune 1.0.0
     ✔ modeldata 1.0.1 ✔ workflows 1.1.0
     ✔ parsnip 1.0.2 ✔ workflowsets 1.0.0
     ✔ purrr 0.3.4 ✔ yardstick 1.1.0
     ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
     ✖ purrr::discard() masks scales::discard()
     ✖ dplyr::filter() masks stats::filter()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ recipes::step() masks stats::step()
     • Dig deeper into tidy modeling with R at https://www.tmwr.org
     > library(modeltime)
     > library(modeltime.ensemble)
     Loading required package: modeltime.resample
     > library(modeltime.resample)
     >
     > # Model dependencies
     > library(xgboost)
    
     Attaching package: 'xgboost'
    
     The following object is masked from 'package:dplyr':
    
     slice
    
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
    
     Attaching package: 'plotrix'
    
     The following object is masked from 'package:scales':
    
     rescale
    
     Loading required package: TeachingDemos
     > library(glmnet)
     Loading required package: Matrix
    
     Attaching package: 'Matrix'
    
     The following objects are masked from 'package:tidyr':
    
     expand, pack, unpack
    
     Loaded glmnet 4.1-4
     >
     > # Core Packages
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ readr 2.1.3 ✔ forcats 0.5.2
     ✔ stringr 1.4.1
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ readr::col_factor() masks scales::col_factor()
     ✖ purrr::discard() masks scales::discard()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ Matrix::expand() masks tidyr::expand()
     ✖ dplyr::filter() masks stats::filter()
     ✖ stringr::fixed() masks recipes::fixed()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ Matrix::pack() masks tidyr::pack()
     ✖ xgboost::slice() masks dplyr::slice()
     ✖ readr::spec() masks yardstick::spec()
     ✖ Matrix::unpack() masks tidyr::unpack()
     > library(timetk)
     > library(lubridate)
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     >
     > test_check("modeltime.ensemble")
     ── Modeltime Ensemble ───────────────────────────────────────────
     Ensemble of 3 Models (WEIGHTED)
    
     # Modeltime Table
     # A tibble: 3 × 4
     .model_id .model .model_desc .loadings
     <int> <list> <chr> <dbl>
     1 1 <workflow> ARIMA(0,1,1)(0,1,1)[12] 0.5
     2 2 <workflow> PROPHET 0.333
     3 3 <workflow> GLMNET 0.167
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-nested-ensembles.R:56:5): Nested Ensembles Work - sequential ────
     Error in `add_model(., boost_tree())`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─workflow() %>% add_model(boost_tree()) %>% ... at test-nested-ensembles.R:56:4
     2. ├─workflows::add_recipe(., recipe_bad)
     3. │ └─workflows:::add_action(x, action, "recipe")
     4. │ └─workflows:::validate_is_workflow(x, call = call)
     5. │ └─workflows:::is_workflow(x)
     6. └─workflows::add_model(., boost_tree())
     7. └─workflows:::new_action_model(spec, formula)
     8. └─rlang::abort(message, call = call)
     ── Error (test-panel-data.R:28:1): (code run outside of `test_that()`) ─────────
     Error in `add_model(., boost_tree() %>% set_engine("xgboost"))`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─... %>% fit(data_set) at test-panel-data.R:28:0
     2. ├─generics::fit(., data_set)
     3. ├─workflows::add_recipe(., recipe_spec %>% step_rm(date))
     4. │ └─workflows:::add_action(x, action, "recipe")
     5. │ └─workflows:::validate_is_workflow(x, call = call)
     6. │ └─workflows:::is_workflow(x)
     7. └─workflows::add_model(., boost_tree() %>% set_engine("xgboost"))
     8. └─workflows:::new_action_model(spec, formula)
     9. └─rlang::abort(message, call = call)
    
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘parsnip’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [155s/235s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     >
     > # Machine Learning
     > library(tidymodels)
     ── Attaching packages ────────────────────────────────────── tidymodels 1.0.0 ──
     ✔ broom 1.0.1 ✔ recipes 1.0.1
     ✔ dials 1.0.0 ✔ rsample 1.1.0
     ✔ dplyr 1.0.10 ✔ tibble 3.1.8
     ✔ ggplot2 3.3.6 ✔ tidyr 1.2.1
     ✔ infer 1.0.3 ✔ tune 1.0.0
     ✔ modeldata 1.0.1 ✔ workflows 1.1.0
     ✔ parsnip 1.0.2 ✔ workflowsets 1.0.0
     ✔ purrr 0.3.4 ✔ yardstick 1.1.0
     ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
     ✖ purrr::discard() masks scales::discard()
     ✖ dplyr::filter() masks stats::filter()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ recipes::step() masks stats::step()
     • Learn how to get started at https://www.tidymodels.org/start/
     > library(modeltime)
     > library(modeltime.ensemble)
     Loading required package: modeltime.resample
     > library(modeltime.resample)
     >
     > # Model dependencies
     > library(xgboost)
    
     Attaching package: 'xgboost'
    
     The following object is masked from 'package:dplyr':
    
     slice
    
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
    
     Attaching package: 'plotrix'
    
     The following object is masked from 'package:scales':
    
     rescale
    
     Loading required package: TeachingDemos
     > library(glmnet)
     Loading required package: Matrix
    
     Attaching package: 'Matrix'
    
     The following objects are masked from 'package:tidyr':
    
     expand, pack, unpack
    
     Loaded glmnet 4.1-4
     >
     > # Core Packages
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ readr 2.1.3 ✔ forcats 0.5.2
     ✔ stringr 1.4.1
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ readr::col_factor() masks scales::col_factor()
     ✖ purrr::discard() masks scales::discard()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ Matrix::expand() masks tidyr::expand()
     ✖ dplyr::filter() masks stats::filter()
     ✖ stringr::fixed() masks recipes::fixed()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ Matrix::pack() masks tidyr::pack()
     ✖ xgboost::slice() masks dplyr::slice()
     ✖ readr::spec() masks yardstick::spec()
     ✖ Matrix::unpack() masks tidyr::unpack()
     > library(timetk)
     > library(lubridate)
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     >
     > test_check("modeltime.ensemble")
     ── Modeltime Ensemble ───────────────────────────────────────────
     Ensemble of 3 Models (WEIGHTED)
    
     # Modeltime Table
     # A tibble: 3 × 4
     .model_id .model .model_desc .loadings
     <int> <list> <chr> <dbl>
     1 1 <workflow> ARIMA(0,1,1)(0,1,1)[12] 0.5
     2 2 <workflow> PROPHET 0.333
     3 3 <workflow> GLMNET 0.167
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-nested-ensembles.R:56:5): Nested Ensembles Work - sequential ────
     Error in `add_model(., boost_tree())`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─workflow() %>% add_model(boost_tree()) %>% ... at test-nested-ensembles.R:56:4
     2. ├─workflows::add_recipe(., recipe_bad)
     3. │ └─workflows:::add_action(x, action, "recipe")
     4. │ └─workflows:::validate_is_workflow(x, call = call)
     5. │ └─workflows:::is_workflow(x)
     6. └─workflows::add_model(., boost_tree())
     7. └─workflows:::new_action_model(spec, formula)
     8. └─rlang::abort(message, call = call)
     ── Error (test-panel-data.R:28:1): (code run outside of `test_that()`) ─────────
     Error in `add_model(., boost_tree() %>% set_engine("xgboost"))`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─... %>% fit(data_set) at test-panel-data.R:28:0
     2. ├─generics::fit(., data_set)
     3. ├─workflows::add_recipe(., recipe_spec %>% step_rm(date))
     4. │ └─workflows:::add_action(x, action, "recipe")
     5. │ └─workflows:::validate_is_workflow(x, call = call)
     6. │ └─workflows:::is_workflow(x)
     7. └─workflows::add_model(., boost_tree() %>% set_engine("xgboost"))
     8. └─workflows:::new_action_model(spec, formula)
     9. └─rlang::abort(message, call = call)
    
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [145s/174s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     >
     > # Machine Learning
     > library(tidymodels)
     ── Attaching packages ────────────────────────────────────── tidymodels 1.0.0 ──
     ✔ broom 1.0.1 ✔ recipes 1.0.1
     ✔ dials 1.0.0 ✔ rsample 1.1.0
     ✔ dplyr 1.0.10 ✔ tibble 3.1.8
     ✔ ggplot2 3.3.6 ✔ tidyr 1.2.1
     ✔ infer 1.0.3 ✔ tune 1.0.0
     ✔ modeldata 1.0.1 ✔ workflows 1.1.0
     ✔ parsnip 1.0.2 ✔ workflowsets 1.0.0
     ✔ purrr 0.3.4 ✔ yardstick 1.1.0
     ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
     ✖ purrr::discard() masks scales::discard()
     ✖ dplyr::filter() masks stats::filter()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ recipes::step() masks stats::step()
     • Search for functions across packages at https://www.tidymodels.org/find/
     > library(modeltime)
     > library(modeltime.ensemble)
     Loading required package: modeltime.resample
     > library(modeltime.resample)
     >
     > # Model dependencies
     > library(xgboost)
    
     Attaching package: 'xgboost'
    
     The following object is masked from 'package:dplyr':
    
     slice
    
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
    
     Attaching package: 'plotrix'
    
     The following object is masked from 'package:scales':
    
     rescale
    
     Loading required package: TeachingDemos
     > library(glmnet)
     Loading required package: Matrix
    
     Attaching package: 'Matrix'
    
     The following objects are masked from 'package:tidyr':
    
     expand, pack, unpack
    
     Loaded glmnet 4.1-4
     >
     > # Core Packages
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ readr 2.1.3 ✔ forcats 0.5.2
     ✔ stringr 1.4.1
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ readr::col_factor() masks scales::col_factor()
     ✖ purrr::discard() masks scales::discard()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ Matrix::expand() masks tidyr::expand()
     ✖ dplyr::filter() masks stats::filter()
     ✖ stringr::fixed() masks recipes::fixed()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ Matrix::pack() masks tidyr::pack()
     ✖ xgboost::slice() masks dplyr::slice()
     ✖ readr::spec() masks yardstick::spec()
     ✖ Matrix::unpack() masks tidyr::unpack()
     > library(timetk)
     > library(lubridate)
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     >
     > test_check("modeltime.ensemble")
     ── Modeltime Ensemble ───────────────────────────────────────────
     Ensemble of 3 Models (WEIGHTED)
    
     # Modeltime Table
     # A tibble: 3 × 4
     .model_id .model .model_desc .loadings
     <int> <list> <chr> <dbl>
     1 1 <workflow> ARIMA(0,1,1)(0,1,1)[12] 0.5
     2 2 <workflow> PROPHET 0.333
     3 3 <workflow> GLMNET 0.167
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-nested-ensembles.R:56:5): Nested Ensembles Work - sequential ────
     Error in `add_model(., boost_tree())`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─workflow() %>% add_model(boost_tree()) %>% ... at test-nested-ensembles.R:56:4
     2. ├─workflows::add_recipe(., recipe_bad)
     3. │ └─workflows:::add_action(x, action, "recipe")
     4. │ └─workflows:::validate_is_workflow(x, call = call)
     5. │ └─workflows:::is_workflow(x)
     6. └─workflows::add_model(., boost_tree())
     7. └─workflows:::new_action_model(spec, formula)
     8. └─rlang::abort(message, call = call)
     ── Error (test-panel-data.R:28:1): (code run outside of `test_that()`) ─────────
     Error in `add_model(., boost_tree() %>% set_engine("xgboost"))`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─... %>% fit(data_set) at test-panel-data.R:28:0
     2. ├─generics::fit(., data_set)
     3. ├─workflows::add_recipe(., recipe_spec %>% step_rm(date))
     4. │ └─workflows:::add_action(x, action, "recipe")
     5. │ └─workflows:::validate_is_workflow(x, call = call)
     6. │ └─workflows:::is_workflow(x)
     7. └─workflows::add_model(., boost_tree() %>% set_engine("xgboost"))
     8. └─workflows:::new_action_model(spec, formula)
     9. └─rlang::abort(message, call = call)
    
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR
     Running 'testthat.R' [128s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     >
     > # Machine Learning
     > library(tidymodels)
     ── Attaching packages ────────────────────────────────────── tidymodels 1.0.0 ──
     ✔ broom 1.0.1 ✔ recipes 1.0.1
     ✔ dials 1.0.0 ✔ rsample 1.1.0
     ✔ dplyr 1.0.10 ✔ tibble 3.1.8
     ✔ ggplot2 3.3.6 ✔ tidyr 1.2.1
     ✔ infer 1.0.3 ✔ tune 1.0.0
     ✔ modeldata 1.0.1 ✔ workflows 1.1.0
     ✔ parsnip 1.0.1 ✔ workflowsets 1.0.0
     ✔ purrr 0.3.4 ✔ yardstick 1.1.0
     ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
     ✖ purrr::discard() masks scales::discard()
     ✖ dplyr::filter() masks stats::filter()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ recipes::step() masks stats::step()
     • Use tidymodels_prefer() to resolve common conflicts.
     > library(modeltime)
     > library(modeltime.ensemble)
     Loading required package: modeltime.resample
     > library(modeltime.resample)
     >
     > # Model dependencies
     > library(xgboost)
    
     Attaching package: 'xgboost'
    
     The following object is masked from 'package:dplyr':
    
     slice
    
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
    
     Attaching package: 'plotrix'
    
     The following object is masked from 'package:scales':
    
     rescale
    
     Loading required package: TeachingDemos
     > library(glmnet)
     Loading required package: Matrix
    
     Attaching package: 'Matrix'
    
     The following objects are masked from 'package:tidyr':
    
     expand, pack, unpack
    
     Loaded glmnet 4.1-4
     >
     > # Core Packages
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ readr 2.1.2 ✔ forcats 0.5.2
     ✔ stringr 1.4.1
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ readr::col_factor() masks scales::col_factor()
     ✖ purrr::discard() masks scales::discard()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ Matrix::expand() masks tidyr::expand()
     ✖ dplyr::filter() masks stats::filter()
     ✖ stringr::fixed() masks recipes::fixed()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ Matrix::pack() masks tidyr::pack()
     ✖ xgboost::slice() masks dplyr::slice()
     ✖ readr::spec() masks yardstick::spec()
     ✖ Matrix::unpack() masks tidyr::unpack()
     > library(timetk)
     > library(lubridate)
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     >
     > test_check("modeltime.ensemble")
     ── Modeltime Ensemble ───────────────────────────────────────────
     Ensemble of 3 Models (WEIGHTED)
    
     # Modeltime Table
     # A tibble: 3 × 4
     .model_id .model .model_desc .loadings
     <int> <list> <chr> <dbl>
     1 1 <workflow> ARIMA(0,1,1)(0,1,1)[12] 0.5
     2 2 <workflow> PROPHET 0.333
     3 3 <workflow> GLMNET 0.167
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-nested-ensembles.R:56:5): Nested Ensembles Work - sequential ────
     Error in `add_model(., boost_tree())`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─workflow() %>% add_model(boost_tree()) %>% ... at test-nested-ensembles.R:56:4
     2. ├─workflows::add_recipe(., recipe_bad)
     3. │ └─workflows:::add_action(x, action, "recipe")
     4. │ └─workflows:::validate_is_workflow(x, call = call)
     5. │ └─workflows:::is_workflow(x)
     6. └─workflows::add_model(., boost_tree())
     7. └─workflows:::new_action_model(spec, formula)
     8. └─rlang::abort(message, call = call)
     ── Error (test-panel-data.R:28:1): (code run outside of `test_that()`) ─────────
     Error in `add_model(., boost_tree() %>% set_engine("xgboost"))`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─... %>% fit(data_set) at test-panel-data.R:28:0
     2. ├─generics::fit(., data_set)
     3. ├─workflows::add_recipe(., recipe_spec %>% step_rm(date))
     4. │ └─workflows:::add_action(x, action, "recipe")
     5. │ └─workflows:::validate_is_workflow(x, call = call)
     6. │ └─workflows:::is_workflow(x)
     7. └─workflows::add_model(., boost_tree() %>% set_engine("xgboost"))
     8. └─workflows:::new_action_model(spec, formula)
     9. └─rlang::abort(message, call = call)
    
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [118s/136s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     >
     > # Machine Learning
     > library(tidymodels)
     ── Attaching packages ────────────────────────────────────── tidymodels 1.0.0 ──
     ✔ broom 1.0.1 ✔ recipes 1.0.1
     ✔ dials 1.0.0 ✔ rsample 1.1.0
     ✔ dplyr 1.0.10 ✔ tibble 3.1.8
     ✔ ggplot2 3.3.6 ✔ tidyr 1.2.1
     ✔ infer 1.0.3 ✔ tune 1.0.0
     ✔ modeldata 1.0.1 ✔ workflows 1.1.0
     ✔ parsnip 1.0.1 ✔ workflowsets 1.0.0
     ✔ purrr 0.3.4 ✔ yardstick 1.1.0
     ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
     ✖ purrr::discard() masks scales::discard()
     ✖ dplyr::filter() masks stats::filter()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ recipes::step() masks stats::step()
     • Use suppressPackageStartupMessages() to eliminate package startup messages
     > library(modeltime)
     > library(modeltime.ensemble)
     Loading required package: modeltime.resample
     > library(modeltime.resample)
     >
     > # Model dependencies
     > library(xgboost)
    
     Attaching package: 'xgboost'
    
     The following object is masked from 'package:dplyr':
    
     slice
    
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
    
     Attaching package: 'plotrix'
    
     The following object is masked from 'package:scales':
    
     rescale
    
     Loading required package: TeachingDemos
     > library(glmnet)
     Loading required package: Matrix
    
     Attaching package: 'Matrix'
    
     The following objects are masked from 'package:tidyr':
    
     expand, pack, unpack
    
     Loaded glmnet 4.1-4
     >
     > # Core Packages
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ readr 2.1.2 ✔ forcats 0.5.2
     ✔ stringr 1.4.1
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ readr::col_factor() masks scales::col_factor()
     ✖ purrr::discard() masks scales::discard()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ Matrix::expand() masks tidyr::expand()
     ✖ dplyr::filter() masks stats::filter()
     ✖ stringr::fixed() masks recipes::fixed()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ Matrix::pack() masks tidyr::pack()
     ✖ xgboost::slice() masks dplyr::slice()
     ✖ readr::spec() masks yardstick::spec()
     ✖ Matrix::unpack() masks tidyr::unpack()
     > library(timetk)
     > library(lubridate)
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     >
     > test_check("modeltime.ensemble")
     ── Modeltime Ensemble ───────────────────────────────────────────
     Ensemble of 3 Models (WEIGHTED)
    
     # Modeltime Table
     # A tibble: 3 × 4
     .model_id .model .model_desc .loadings
     <int> <list> <chr> <dbl>
     1 1 <workflow> ARIMA(0,1,1)(0,1,1)[12] 0.5
     2 2 <workflow> PROPHET 0.333
     3 3 <workflow> GLMNET 0.167
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-nested-ensembles.R:56:5): Nested Ensembles Work - sequential ────
     Error in `add_model(., boost_tree())`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─workflow() %>% add_model(boost_tree()) %>% ... at test-nested-ensembles.R:56:4
     2. ├─workflows::add_recipe(., recipe_bad)
     3. │ └─workflows:::add_action(x, action, "recipe")
     4. │ └─workflows:::validate_is_workflow(x, call = call)
     5. │ └─workflows:::is_workflow(x)
     6. └─workflows::add_model(., boost_tree())
     7. └─workflows:::new_action_model(spec, formula)
     8. └─rlang::abort(message, call = call)
     ── Error (test-panel-data.R:28:1): (code run outside of `test_that()`) ─────────
     Error in `add_model(., boost_tree() %>% set_engine("xgboost"))`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─... %>% fit(data_set) at test-panel-data.R:28:0
     2. ├─generics::fit(., data_set)
     3. ├─workflows::add_recipe(., recipe_spec %>% step_rm(date))
     4. │ └─workflows:::add_action(x, action, "recipe")
     5. │ └─workflows:::validate_is_workflow(x, call = call)
     6. │ └─workflows:::is_workflow(x)
     7. └─workflows::add_model(., boost_tree() %>% set_engine("xgboost"))
     8. └─workflows:::new_action_model(spec, formula)
     9. └─rlang::abort(message, call = call)
    
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [120s/139s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     >
     > # Machine Learning
     > library(tidymodels)
     ── Attaching packages ────────────────────────────────────── tidymodels 1.0.0 ──
     ✔ broom 1.0.1 ✔ recipes 1.0.1
     ✔ dials 1.0.0 ✔ rsample 1.1.0
     ✔ dplyr 1.0.10 ✔ tibble 3.1.8
     ✔ ggplot2 3.3.6 ✔ tidyr 1.2.1
     ✔ infer 1.0.3 ✔ tune 1.0.0
     ✔ modeldata 1.0.1 ✔ workflows 1.1.0
     ✔ parsnip 1.0.2 ✔ workflowsets 1.0.0
     ✔ purrr 0.3.4 ✔ yardstick 1.1.0
     ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
     ✖ purrr::discard() masks scales::discard()
     ✖ dplyr::filter() masks stats::filter()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ recipes::step() masks stats::step()
     • Learn how to get started at https://www.tidymodels.org/start/
     > library(modeltime)
     > library(modeltime.ensemble)
     Loading required package: modeltime.resample
     > library(modeltime.resample)
     >
     > # Model dependencies
     > library(xgboost)
    
     Attaching package: 'xgboost'
    
     The following object is masked from 'package:dplyr':
    
     slice
    
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
    
     Attaching package: 'plotrix'
    
     The following object is masked from 'package:scales':
    
     rescale
    
     Loading required package: TeachingDemos
     > library(glmnet)
     Loading required package: Matrix
    
     Attaching package: 'Matrix'
    
     The following objects are masked from 'package:tidyr':
    
     expand, pack, unpack
    
     Loaded glmnet 4.1-4
     >
     > # Core Packages
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ readr 2.1.3 ✔ forcats 0.5.2
     ✔ stringr 1.4.1
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ readr::col_factor() masks scales::col_factor()
     ✖ purrr::discard() masks scales::discard()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ Matrix::expand() masks tidyr::expand()
     ✖ dplyr::filter() masks stats::filter()
     ✖ stringr::fixed() masks recipes::fixed()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ Matrix::pack() masks tidyr::pack()
     ✖ xgboost::slice() masks dplyr::slice()
     ✖ readr::spec() masks yardstick::spec()
     ✖ Matrix::unpack() masks tidyr::unpack()
     > library(timetk)
     > library(lubridate)
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     >
     > test_check("modeltime.ensemble")
     ── Modeltime Ensemble ───────────────────────────────────────────
     Ensemble of 3 Models (WEIGHTED)
    
     # Modeltime Table
     # A tibble: 3 × 4
     .model_id .model .model_desc .loadings
     <int> <list> <chr> <dbl>
     1 1 <workflow> ARIMA(0,1,1)(0,1,1)[12] 0.5
     2 2 <workflow> PROPHET 0.333
     3 3 <workflow> GLMNET 0.167
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-nested-ensembles.R:56:5): Nested Ensembles Work - sequential ────
     Error in `add_model(., boost_tree())`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─workflow() %>% add_model(boost_tree()) %>% ... at test-nested-ensembles.R:56:4
     2. ├─workflows::add_recipe(., recipe_bad)
     3. │ └─workflows:::add_action(x, action, "recipe")
     4. │ └─workflows:::validate_is_workflow(x, call = call)
     5. │ └─workflows:::is_workflow(x)
     6. └─workflows::add_model(., boost_tree())
     7. └─workflows:::new_action_model(spec, formula)
     8. └─rlang::abort(message, call = call)
     ── Error (test-panel-data.R:28:1): (code run outside of `test_that()`) ─────────
     Error in `add_model(., boost_tree() %>% set_engine("xgboost"))`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─... %>% fit(data_set) at test-panel-data.R:28:0
     2. ├─generics::fit(., data_set)
     3. ├─workflows::add_recipe(., recipe_spec %>% step_rm(date))
     4. │ └─workflows:::add_action(x, action, "recipe")
     5. │ └─workflows:::validate_is_workflow(x, call = call)
     6. │ └─workflows:::is_workflow(x)
     7. └─workflows::add_model(., boost_tree() %>% set_engine("xgboost"))
     8. └─workflows:::new_action_model(spec, formula)
     9. └─rlang::abort(message, call = call)
    
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR
     Running 'testthat.R' [129s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     >
     > # Machine Learning
     > library(tidymodels)
     ── Attaching packages ────────────────────────────────────── tidymodels 1.0.0 ──
     ✔ broom 1.0.1 ✔ recipes 1.0.1
     ✔ dials 1.0.0 ✔ rsample 1.1.0
     ✔ dplyr 1.0.10 ✔ tibble 3.1.8
     ✔ ggplot2 3.3.6 ✔ tidyr 1.2.1
     ✔ infer 1.0.3 ✔ tune 1.0.0
     ✔ modeldata 1.0.1 ✔ workflows 1.1.0
     ✔ parsnip 1.0.2 ✔ workflowsets 1.0.0
     ✔ purrr 0.3.4 ✔ yardstick 1.1.0
     ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
     ✖ purrr::discard() masks scales::discard()
     ✖ dplyr::filter() masks stats::filter()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ recipes::step() masks stats::step()
     • Learn how to get started at https://www.tidymodels.org/start/
     > library(modeltime)
     > library(modeltime.ensemble)
     Loading required package: modeltime.resample
     > library(modeltime.resample)
     >
     > # Model dependencies
     > library(xgboost)
    
     Attaching package: 'xgboost'
    
     The following object is masked from 'package:dplyr':
    
     slice
    
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
    
     Attaching package: 'plotrix'
    
     The following object is masked from 'package:scales':
    
     rescale
    
     Loading required package: TeachingDemos
     > library(glmnet)
     Loading required package: Matrix
    
     Attaching package: 'Matrix'
    
     The following objects are masked from 'package:tidyr':
    
     expand, pack, unpack
    
     Loaded glmnet 4.1-4
     >
     > # Core Packages
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ readr 2.1.3 ✔ forcats 0.5.2
     ✔ stringr 1.4.1
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ readr::col_factor() masks scales::col_factor()
     ✖ purrr::discard() masks scales::discard()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ Matrix::expand() masks tidyr::expand()
     ✖ dplyr::filter() masks stats::filter()
     ✖ stringr::fixed() masks recipes::fixed()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     ✖ Matrix::pack() masks tidyr::pack()
     ✖ xgboost::slice() masks dplyr::slice()
     ✖ readr::spec() masks yardstick::spec()
     ✖ Matrix::unpack() masks tidyr::unpack()
     > library(timetk)
     > library(lubridate)
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     >
     > test_check("modeltime.ensemble")
     ── Modeltime Ensemble ───────────────────────────────────────────
     Ensemble of 3 Models (WEIGHTED)
    
     # Modeltime Table
     # A tibble: 3 × 4
     .model_id .model .model_desc .loadings
     <int> <list> <chr> <dbl>
     1 1 <workflow> ARIMA(0,1,1)(0,1,1)[12] 0.5
     2 2 <workflow> PROPHET 0.333
     3 3 <workflow> GLMNET 0.167
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-nested-ensembles.R:56:5): Nested Ensembles Work - sequential ────
     Error in `add_model(., boost_tree())`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─workflow() %>% add_model(boost_tree()) %>% ... at test-nested-ensembles.R:56:4
     2. ├─workflows::add_recipe(., recipe_bad)
     3. │ └─workflows:::add_action(x, action, "recipe")
     4. │ └─workflows:::validate_is_workflow(x, call = call)
     5. │ └─workflows:::is_workflow(x)
     6. └─workflows::add_model(., boost_tree())
     7. └─workflows:::new_action_model(spec, formula)
     8. └─rlang::abort(message, call = call)
     ── Error (test-panel-data.R:28:1): (code run outside of `test_that()`) ─────────
     Error in `add_model(., boost_tree() %>% set_engine("xgboost"))`: `spec` must have a known mode.
     ℹ Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     ▆
     1. ├─... %>% fit(data_set) at test-panel-data.R:28:0
     2. ├─generics::fit(., data_set)
     3. ├─workflows::add_recipe(., recipe_spec %>% step_rm(date))
     4. │ └─workflows:::add_action(x, action, "recipe")
     5. │ └─workflows:::validate_is_workflow(x, call = call)
     6. │ └─workflows:::is_workflow(x)
     7. └─workflows::add_model(., boost_tree() %>% set_engine("xgboost"))
     8. └─workflows:::new_action_model(spec, formula)
     9. └─rlang::abort(message, call = call)
    
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64

Version: 1.0.1
Check: tests
Result: ERROR
     Running 'testthat.R' [139s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     >
     > # Machine Learning
     > library(tidymodels)
     -- Attaching packages -------------------------------------- tidymodels 1.0.0 --
     v broom 1.0.1 v recipes 1.0.1
     v dials 1.0.0 v rsample 1.1.0
     v dplyr 1.0.10 v tibble 3.1.8
     v ggplot2 3.3.6 v tidyr 1.2.1
     v infer 1.0.3 v tune 1.0.0
     v modeldata 1.0.1 v workflows 1.1.0
     v parsnip 1.0.1 v workflowsets 1.0.0
     v purrr 0.3.4 v yardstick 1.1.0
     -- Conflicts ----------------------------------------- tidymodels_conflicts() --
     x purrr::discard() masks scales::discard()
     x dplyr::filter() masks stats::filter()
     x purrr::is_null() masks testthat::is_null()
     x dplyr::lag() masks stats::lag()
     x tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     x recipes::step() masks stats::step()
     * Use tidymodels_prefer() to resolve common conflicts.
     > library(modeltime)
     > library(modeltime.ensemble)
     Loading required package: modeltime.resample
     > library(modeltime.resample)
     >
     > # Model dependencies
     > library(xgboost)
    
     Attaching package: 'xgboost'
    
     The following object is masked from 'package:dplyr':
    
     slice
    
     > library(earth)
     Loading required package: Formula
     Loading required package: plotmo
     Loading required package: plotrix
    
     Attaching package: 'plotrix'
    
     The following object is masked from 'package:scales':
    
     rescale
    
     Loading required package: TeachingDemos
     > library(glmnet)
     Loading required package: Matrix
    
     Attaching package: 'Matrix'
    
     The following objects are masked from 'package:tidyr':
    
     expand, pack, unpack
    
     Loaded glmnet 4.1-4
     >
     > # Core Packages
     > library(tidyverse)
     -- Attaching packages --------------------------------------- tidyverse 1.3.2 --
     v readr 2.1.2 v forcats 0.5.2
     v stringr 1.4.1
     -- Conflicts ------------------------------------------ tidyverse_conflicts() --
     x readr::col_factor() masks scales::col_factor()
     x purrr::discard() masks scales::discard()
     x readr::edition_get() masks testthat::edition_get()
     x Matrix::expand() masks tidyr::expand()
     x dplyr::filter() masks stats::filter()
     x stringr::fixed() masks recipes::fixed()
     x purrr::is_null() masks testthat::is_null()
     x dplyr::lag() masks stats::lag()
     x readr::local_edition() masks testthat::local_edition()
     x tidyr::matches() masks rsample::matches(), dplyr::matches(), testthat::matches()
     x Matrix::pack() masks tidyr::pack()
     x xgboost::slice() masks dplyr::slice()
     x readr::spec() masks yardstick::spec()
     x Matrix::unpack() masks tidyr::unpack()
     > library(timetk)
     > library(lubridate)
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     >
     > test_check("modeltime.ensemble")
     -- Modeltime Ensemble -------------------------------------------
     Ensemble of 3 Models (WEIGHTED)
    
     # Modeltime Table
     # A tibble: 3 x 4
     .model_id .model .model_desc .loadings
     <int> <list> <chr> <dbl>
     1 1 <workflow> ARIMA(0,1,1)(0,1,1)[12] 0.5
     2 2 <workflow> PROPHET 0.333
     3 3 <workflow> GLMNET 0.167
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
    
     == Skipped tests ===============================================================
     * On CRAN (5)
    
     == Failed tests ================================================================
     -- Error (test-nested-ensembles.R:56:5): Nested Ensembles Work - sequential ----
     Error in `add_model(., boost_tree())`: `spec` must have a known mode.
     i Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     x
     1. +-workflow() %>% add_model(boost_tree()) %>% ... at test-nested-ensembles.R:56:4
     2. +-workflows::add_recipe(., recipe_bad)
     3. | \-workflows:::add_action(x, action, "recipe")
     4. | \-workflows:::validate_is_workflow(x, call = call)
     5. | \-workflows:::is_workflow(x)
     6. \-workflows::add_model(., boost_tree())
     7. \-workflows:::new_action_model(spec, formula)
     8. \-rlang::abort(message, call = call)
     -- Error (test-panel-data.R:28:1): (code run outside of `test_that()`) ---------
     Error in `add_model(., boost_tree() %>% set_engine("xgboost"))`: `spec` must have a known mode.
     i Set the mode of `spec` by using `parsnip::set_mode()` or by setting the mode directly in the parsnip specification function.
     Backtrace:
     x
     1. +-... %>% fit(data_set) at test-panel-data.R:28:0
     2. +-generics::fit(., data_set)
     3. +-workflows::add_recipe(., recipe_spec %>% step_rm(date))
     4. | \-workflows:::add_action(x, action, "recipe")
     5. | \-workflows:::validate_is_workflow(x, call = call)
     6. | \-workflows:::is_workflow(x)
     7. \-workflows::add_model(., boost_tree() %>% set_engine("xgboost"))
     8. \-workflows:::new_action_model(spec, formula)
     9. \-rlang::abort(message, call = call)
    
     [ FAIL 2 | WARN 16 | SKIP 5 | PASS 52 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64