* using log directory 'd:/Rcompile/CRANpkg/local/4.4/modeltime.resample.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.resample/DESCRIPTION' ... OK * this is package 'modeltime.resample' version '0.3.0' * 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.resample' 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 ... [8s] OK * checking whether the package can be unloaded cleanly ... [8s] 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 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 ... [18s] OK * checking Rd files ... [1s] 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 ... [17s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [36s] OK Running 'testthat.R' [35s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [81s] ERROR Error(s) in re-building vignettes: --- re-building 'getting-started.Rmd' using rmarkdown --- finished re-building 'getting-started.Rmd' --- re-building 'panel-data.Rmd' using rmarkdown Quitting from panel-data.Rmd:182-194 [unnamed-chunk-9] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `switch()`: ! EXPR must be a length 1 vector --- Backtrace: ▆ 1. ├─... %>% fit(training(walmart_tscv$splits[[1]])) 2. ├─generics::fit(., training(walmart_tscv$splits[[1]])) 3. ├─workflows:::fit.workflow(., training(walmart_tscv$splits[[1]])) 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'panel-data.Rmd' failed with diagnostics: EXPR must be a length 1 vector --- failed re-building 'panel-data.Rmd' SUMMARY: processing the following file failed: 'panel-data.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR