* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/modeltime.Rcheck’ * using R Under development (unstable) (2025-12-02 r89085) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘modeltime/DESCRIPTION’ ... OK * this is package ‘modeltime’ version ‘1.3.2’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘modeltime’ can be installed ... [25s/25s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [33s/34s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [29s/34s] OK * checking examples with --run-donttest ... ERROR Running examples in ‘modeltime-Ex.R’ failed The error most likely occurred in: > ### Name: arima_boost > ### Title: General Interface for "Boosted" ARIMA Regression Models > ### Aliases: arima_boost > > ### ** Examples > > ## No test: > library(dplyr) Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > library(lubridate) Attaching package: ‘lubridate’ The following objects are masked from ‘package:base’: date, intersect, setdiff, union > library(parsnip) > library(rsample) > library(timetk) > > # Data > m750 <- m4_monthly %>% filter(id == "M750") > > # Split Data 80/20 > splits <- initial_time_split(m750, prop = 0.9) > > # MODEL SPEC ---- > > # Set engine and boosting parameters > model_spec <- arima_boost( + + # ARIMA args + seasonal_period = 12, + non_seasonal_ar = 0, + non_seasonal_differences = 1, + non_seasonal_ma = 1, + seasonal_ar = 0, + seasonal_differences = 1, + seasonal_ma = 1, + + # XGBoost Args + tree_depth = 6, + learn_rate = 0.1 + ) %>% + set_engine(engine = "arima_xgboost") > > # FIT ---- > > # Boosting - Happens by adding numeric date and month features > model_fit_boosted <- model_spec %>% + fit(value ~ date + as.numeric(date) + month(date, label = TRUE), + data = training(splits)) Error in switch(object$params$objective, `reg:linear` = , `reg:logistic` = , : EXPR must be a length 1 vector Calls: %>% ... eval_tidy -> arima_xgboost_fit_impl -> xgboost_predict Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [12s/12s] [12s/12s] ERROR 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.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() ── ✖ 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [19s/19s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘getting-started-with-modeltime.Rmd’ using rmarkdown Quitting from getting-started-with-modeltime.Rmd:162-171 [unnamed-chunk-9] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `switch()`: ! EXPR must be a length 1 vector --- Backtrace: ▆ 1. ├─... %>% ... 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::auto_arima_xgboost_fit_impl(...) 9. └─modeltime::xgboost_predict(fit_xgboost, newdata = xreg_tbl) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'getting-started-with-modeltime.Rmd' failed with diagnostics: EXPR must be a length 1 vector --- failed re-building ‘getting-started-with-modeltime.Rmd’ SUMMARY: processing the following file failed: ‘getting-started-with-modeltime.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 3 ERRORs See ‘/data/blackswan/ripley/R/packages/tests-devel/modeltime.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 4:16.58, 224.43 + 26.15