CRAN Package Check Results for Package modeltime.ensemble

Last updated on 2025-12-04 09:49:59 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 22.99 370.49 393.48 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 16.62 240.53 257.15 OK
r-devel-linux-x86_64-fedora-clang 1.1.0 187.00 422.09 609.09 ERROR
r-devel-linux-x86_64-fedora-gcc 1.1.0 151.00 438.47 589.47 ERROR
r-devel-windows-x86_64 1.1.0 24.00 277.00 301.00 OK
r-patched-linux-x86_64 1.1.0 22.64 332.81 355.45 OK
r-release-linux-x86_64 1.1.0 21.00 332.47 353.47 OK
r-release-macos-arm64 1.1.0 OK
r-release-macos-x86_64 1.1.0 17.00 194.00 211.00 OK
r-release-windows-x86_64 1.1.0 24.00 275.00 299.00 OK
r-oldrel-macos-arm64 1.1.0 OK
r-oldrel-macos-x86_64 1.1.0 19.00 203.00 222.00 OK
r-oldrel-windows-x86_64 1.1.0 33.00 404.00 437.00 OK

Check Details

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [129s/535s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > # Machine Learning > library(tidymodels) ── Attaching packages ────────────────────────────────────── tidymodels 1.4.1 ── ✔ broom 1.0.10 ✔ 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() ── ✖ 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 4.1-10 > > # 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 <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 Saving _problems/test-panel-data-25.R [ FAIL 1 | WARN 0 | SKIP 4 | PASS 61 ] ══ 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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-panel-data.R:16:1'): (code run outside of `test_that()`) ─────── 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. ├─... %>% 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:::xy_xy(...) 11. │ └─parsnip:::eval_mod(...) 12. │ └─rlang::eval_tidy(e, env = envir, ...) 13. └─modeltime::prophet_xgboost_fit_impl(...) 14. └─modeltime::xgboost_predict(fit_xgboost, newdata = xreg_tbl) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [119s/483s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > # Machine Learning > library(tidymodels) ── Attaching packages ────────────────────────────────────── tidymodels 1.4.1 ── ✔ broom 1.0.10 ✔ 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() ── ✖ 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 4.1-10 > > # 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 <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 Saving _problems/test-panel-data-25.R [ FAIL 1 | WARN 0 | SKIP 4 | PASS 61 ] ══ 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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-panel-data.R:16:1'): (code run outside of `test_that()`) ─────── 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. ├─... %>% 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:::xy_xy(...) 11. │ └─parsnip:::eval_mod(...) 12. │ └─rlang::eval_tidy(e, env = envir, ...) 13. └─modeltime::prophet_xgboost_fit_impl(...) 14. └─modeltime::xgboost_predict(fit_xgboost, newdata = xreg_tbl) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc