* using log directory 'd:/Rcompile/CRANpkg/local/4.4/modeltime.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'modeltime' can be installed ... OK * checking installed package size ... 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 ... [8s] OK * checking whether the package can be loaded with stated dependencies ... [7s] OK * checking whether the package can be unloaded cleanly ... [7s] OK * checking whether the namespace can be loaded with stated dependencies ... [7s] OK * checking whether the namespace can be unloaded cleanly ... [8s] OK * checking loading without being on the library search path ... [8s] OK * checking whether startup messages can be suppressed ... [9s] OK * checking use of S3 registration ... 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] OK * checking Rd files ... [3s] OK * checking Rd metadata ... 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 ... [6s] 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 ... [82s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [19s] ERROR Running 'testthat.R' [19s] 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.11 ✔ 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 ... [15s] 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 ... [26s] OK * checking HTML version of manual ... [25s] OK * DONE Status: 2 ERRORs