R Under development (unstable) (2024-07-11 r86890 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > > # Machine Learning > library(tidymodels) ── Attaching packages ────────────────────────────────────── tidymodels 1.2.0 ── ✔ broom 1.0.6 ✔ recipes 1.1.0 ✔ dials 1.2.1 ✔ rsample 1.2.1 ✔ dplyr 1.1.4 ✔ tibble 3.2.1 ✔ ggplot2 3.5.1 ✔ tidyr 1.3.1 ✔ infer 1.0.7 ✔ tune 1.2.1 ✔ modeldata 1.4.0 ✔ workflows 1.1.4 ✔ parsnip 1.2.1 ✔ workflowsets 1.1.0 ✔ purrr 1.0.2 ✔ yardstick 1.3.1 ── 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(glmnet) Loading required package: Matrix Attaching package: 'Matrix' The following objects are masked from 'package:tidyr': expand, pack, unpack Loaded glmnet 4.1-8 > > # 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") ── Modeltime Ensemble ─────────────────────────────────────────── Ensemble of 3 Models (WEIGHTED) # Modeltime Table # A tibble: 3 × 4 .model_id .model .model_desc .loadings 1 1 ARIMA(0,1,1)(0,1,1)[12] 0.5 2 2 PROPHET 0.333 3 3 GLMNET 0.167 [ FAIL 0 | WARN 0 | SKIP 4 | PASS 96 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-conf_by_id.R:6:5', 'test-ensemble_average.R:57:5', 'test-ensemble_model_spec.R:55:5', 'test-nested-ensembles.R:189:5' [ FAIL 0 | WARN 0 | SKIP 4 | PASS 96 ] > > > proc.time() user system elapsed 41.68 1.51 42.65