* using log directory 'd:/RCompile/CRANincoming/R-devel/autostats.Rcheck' * using R version 4.4.0 alpha (2024-04-02 r86304 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'autostats/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'autostats' version '0.4.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Harrison Tietze ' New submission Package was archived on CRAN CRAN repository db overrides: X-CRAN-Comment: Archived on 2023-08-28 as check issues were not corrected in time. Does not use archived suggested package 'moreparty' conditionally. * 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 'autostats' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 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 ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [19s] ERROR Running examples in 'autostats-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: auto_tune_xgboost > ### Title: auto_tune_xgboost > ### Aliases: auto_tune_xgboost > > ### ** Examples > > > > > > iris %>% + framecleaner::create_dummies() -> iris1 1 column(s) have become 3 dummy columns > > iris1 %>% + tidy_formula(target = Petal.Length) -> petal_form > > iris1 %>% + rsample::initial_split() -> iris_split > > iris_split %>% + rsample::analysis() -> iris_train > > iris_split %>% + rsample::assessment() -> iris_val > > iris_train %>% + auto_tune_xgboost(formula = petal_form, n_iter = 10, + parallel = FALSE, tune_method = "grid") -> xgb_tuned i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 1/10 ✓ Fold1: preprocessor 1/1, model 1/10 i Fold1: preprocessor 1/1, model 1/10 (extracts) i Fold1: preprocessor 1/1, model 1/10 (predictions) i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 2/10 ✓ Fold1: preprocessor 1/1, model 2/10 i Fold1: preprocessor 1/1, model 2/10 (extracts) i Fold1: preprocessor 1/1, model 2/10 (predictions) ! Fold1: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold1: internal i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 3/10 ✓ Fold1: preprocessor 1/1, model 3/10 i Fold1: preprocessor 1/1, model 3/10 (extracts) i Fold1: preprocessor 1/1, model 3/10 (predictions) ! Fold1: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold1: internal i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 4/10 ✓ Fold1: preprocessor 1/1, model 4/10 i Fold1: preprocessor 1/1, model 4/10 (extracts) i Fold1: preprocessor 1/1, model 4/10 (predictions) ! Fold1: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold1: internal i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 5/10 ✓ Fold1: preprocessor 1/1, model 5/10 i Fold1: preprocessor 1/1, model 5/10 (extracts) i Fold1: preprocessor 1/1, model 5/10 (predictions) i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 6/10 ✓ Fold1: preprocessor 1/1, model 6/10 i Fold1: preprocessor 1/1, model 6/10 (extracts) i Fold1: preprocessor 1/1, model 6/10 (predictions) ! Fold1: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold1: internal i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 7/10 ✓ Fold1: preprocessor 1/1, model 7/10 i Fold1: preprocessor 1/1, model 7/10 (extracts) i Fold1: preprocessor 1/1, model 7/10 (predictions) i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 8/10 ✓ Fold1: preprocessor 1/1, model 8/10 i Fold1: preprocessor 1/1, model 8/10 (extracts) i Fold1: preprocessor 1/1, model 8/10 (predictions) ! Fold1: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold1: internal i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 9/10 x Fold1: preprocessor 1/1, model 9/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... i Fold1: preprocessor 1/1 ✓ Fold1: preprocessor 1/1 i Fold1: preprocessor 1/1, model 10/10 x Fold1: preprocessor 1/1, model 10/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 1/10 ✓ Fold2: preprocessor 1/1, model 1/10 i Fold2: preprocessor 1/1, model 1/10 (extracts) i Fold2: preprocessor 1/1, model 1/10 (predictions) i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 2/10 ✓ Fold2: preprocessor 1/1, model 2/10 i Fold2: preprocessor 1/1, model 2/10 (extracts) i Fold2: preprocessor 1/1, model 2/10 (predictions) ! Fold2: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold2: internal i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 3/10 ✓ Fold2: preprocessor 1/1, model 3/10 i Fold2: preprocessor 1/1, model 3/10 (extracts) i Fold2: preprocessor 1/1, model 3/10 (predictions) i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 4/10 ✓ Fold2: preprocessor 1/1, model 4/10 i Fold2: preprocessor 1/1, model 4/10 (extracts) i Fold2: preprocessor 1/1, model 4/10 (predictions) ! Fold2: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold2: internal i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 5/10 ✓ Fold2: preprocessor 1/1, model 5/10 i Fold2: preprocessor 1/1, model 5/10 (extracts) i Fold2: preprocessor 1/1, model 5/10 (predictions) i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 6/10 ✓ Fold2: preprocessor 1/1, model 6/10 i Fold2: preprocessor 1/1, model 6/10 (extracts) i Fold2: preprocessor 1/1, model 6/10 (predictions) ! Fold2: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold2: internal i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 7/10 ✓ Fold2: preprocessor 1/1, model 7/10 i Fold2: preprocessor 1/1, model 7/10 (extracts) i Fold2: preprocessor 1/1, model 7/10 (predictions) i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 8/10 ✓ Fold2: preprocessor 1/1, model 8/10 i Fold2: preprocessor 1/1, model 8/10 (extracts) i Fold2: preprocessor 1/1, model 8/10 (predictions) ! Fold2: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold2: internal i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 9/10 x Fold2: preprocessor 1/1, model 9/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... i Fold2: preprocessor 1/1 ✓ Fold2: preprocessor 1/1 i Fold2: preprocessor 1/1, model 10/10 x Fold2: preprocessor 1/1, model 10/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 1/10 ✓ Fold3: preprocessor 1/1, model 1/10 i Fold3: preprocessor 1/1, model 1/10 (extracts) i Fold3: preprocessor 1/1, model 1/10 (predictions) i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 2/10 ✓ Fold3: preprocessor 1/1, model 2/10 i Fold3: preprocessor 1/1, model 2/10 (extracts) i Fold3: preprocessor 1/1, model 2/10 (predictions) ! Fold3: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold3: internal i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 3/10 ✓ Fold3: preprocessor 1/1, model 3/10 i Fold3: preprocessor 1/1, model 3/10 (extracts) i Fold3: preprocessor 1/1, model 3/10 (predictions) i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 4/10 ✓ Fold3: preprocessor 1/1, model 4/10 i Fold3: preprocessor 1/1, model 4/10 (extracts) i Fold3: preprocessor 1/1, model 4/10 (predictions) ! Fold3: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold3: internal i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 5/10 ✓ Fold3: preprocessor 1/1, model 5/10 i Fold3: preprocessor 1/1, model 5/10 (extracts) i Fold3: preprocessor 1/1, model 5/10 (predictions) i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 6/10 ✓ Fold3: preprocessor 1/1, model 6/10 i Fold3: preprocessor 1/1, model 6/10 (extracts) i Fold3: preprocessor 1/1, model 6/10 (predictions) ! Fold3: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold3: internal i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 7/10 ✓ Fold3: preprocessor 1/1, model 7/10 i Fold3: preprocessor 1/1, model 7/10 (extracts) i Fold3: preprocessor 1/1, model 7/10 (predictions) i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 8/10 ✓ Fold3: preprocessor 1/1, model 8/10 i Fold3: preprocessor 1/1, model 8/10 (extracts) i Fold3: preprocessor 1/1, model 8/10 (predictions) ! Fold3: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold3: internal i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 9/10 x Fold3: preprocessor 1/1, model 9/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... i Fold3: preprocessor 1/1 ✓ Fold3: preprocessor 1/1 i Fold3: preprocessor 1/1, model 10/10 x Fold3: preprocessor 1/1, model 10/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 1/10 ✓ Fold4: preprocessor 1/1, model 1/10 i Fold4: preprocessor 1/1, model 1/10 (extracts) i Fold4: preprocessor 1/1, model 1/10 (predictions) i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 2/10 ✓ Fold4: preprocessor 1/1, model 2/10 i Fold4: preprocessor 1/1, model 2/10 (extracts) i Fold4: preprocessor 1/1, model 2/10 (predictions) ! Fold4: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold4: internal i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 3/10 ✓ Fold4: preprocessor 1/1, model 3/10 i Fold4: preprocessor 1/1, model 3/10 (extracts) i Fold4: preprocessor 1/1, model 3/10 (predictions) i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 4/10 ✓ Fold4: preprocessor 1/1, model 4/10 i Fold4: preprocessor 1/1, model 4/10 (extracts) i Fold4: preprocessor 1/1, model 4/10 (predictions) ! Fold4: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold4: internal i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 5/10 ✓ Fold4: preprocessor 1/1, model 5/10 i Fold4: preprocessor 1/1, model 5/10 (extracts) i Fold4: preprocessor 1/1, model 5/10 (predictions) i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 6/10 ✓ Fold4: preprocessor 1/1, model 6/10 i Fold4: preprocessor 1/1, model 6/10 (extracts) i Fold4: preprocessor 1/1, model 6/10 (predictions) ! Fold4: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold4: internal i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 7/10 ✓ Fold4: preprocessor 1/1, model 7/10 i Fold4: preprocessor 1/1, model 7/10 (extracts) i Fold4: preprocessor 1/1, model 7/10 (predictions) i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 8/10 ✓ Fold4: preprocessor 1/1, model 8/10 i Fold4: preprocessor 1/1, model 8/10 (extracts) i Fold4: preprocessor 1/1, model 8/10 (predictions) ! Fold4: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold4: internal i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 9/10 x Fold4: preprocessor 1/1, model 9/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... i Fold4: preprocessor 1/1 ✓ Fold4: preprocessor 1/1 i Fold4: preprocessor 1/1, model 10/10 x Fold4: preprocessor 1/1, model 10/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 1/10 ✓ Fold5: preprocessor 1/1, model 1/10 i Fold5: preprocessor 1/1, model 1/10 (extracts) i Fold5: preprocessor 1/1, model 1/10 (predictions) i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 2/10 ✓ Fold5: preprocessor 1/1, model 2/10 i Fold5: preprocessor 1/1, model 2/10 (extracts) i Fold5: preprocessor 1/1, model 2/10 (predictions) ! Fold5: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold5: internal i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 3/10 ✓ Fold5: preprocessor 1/1, model 3/10 i Fold5: preprocessor 1/1, model 3/10 (extracts) i Fold5: preprocessor 1/1, model 3/10 (predictions) ! Fold5: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold5: internal i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 4/10 ✓ Fold5: preprocessor 1/1, model 4/10 i Fold5: preprocessor 1/1, model 4/10 (extracts) i Fold5: preprocessor 1/1, model 4/10 (predictions) ! Fold5: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold5: internal i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 5/10 ✓ Fold5: preprocessor 1/1, model 5/10 i Fold5: preprocessor 1/1, model 5/10 (extracts) i Fold5: preprocessor 1/1, model 5/10 (predictions) i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 6/10 ✓ Fold5: preprocessor 1/1, model 6/10 i Fold5: preprocessor 1/1, model 6/10 (extracts) i Fold5: preprocessor 1/1, model 6/10 (predictions) ! Fold5: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold5: internal i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 7/10 ✓ Fold5: preprocessor 1/1, model 7/10 i Fold5: preprocessor 1/1, model 7/10 (extracts) i Fold5: preprocessor 1/1, model 7/10 (predictions) i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 8/10 ✓ Fold5: preprocessor 1/1, model 8/10 i Fold5: preprocessor 1/1, model 8/10 (extracts) i Fold5: preprocessor 1/1, model 8/10 (predictions) ! Fold5: internal: A correlation computation is required, but `estimate` is constant and ... standard deviation, resulting in a divide by 0 error. `NA` will be ret... ✓ Fold5: internal i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 9/10 x Fold5: preprocessor 1/1, model 9/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... i Fold5: preprocessor 1/1 ✓ Fold5: preprocessor 1/1 i Fold5: preprocessor 1/1, model 10/10 x Fold5: preprocessor 1/1, model 10/10: Error in xgb.iter.update(bst$handle, dtrain, iteration - 1, obj): valu... colsample_bynode: Subsample ratio of columns, resample on each node (s... Error in `tune::select_best()`: ! `...` must be empty. ✖ Problematic argument: • ..1 = select_metric ℹ Did you forget to name an argument? Backtrace: ▆ 1. ├─iris_train %>% ... 2. └─autostats::auto_tune_xgboost(...) 3. ├─tune::finalize_workflow(...) 4. │ └─tune:::check_final_param(parameters) 5. ├─tune::select_best(xgboost_tune, select_metric) 6. └─tune:::select_best.tune_results(xgboost_tune, select_metric) 7. └─rlang::check_dots_empty() 8. └─rlang:::action_dots(...) 9. ├─base (local) try_dots(...) 10. └─rlang (local) action(...) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [12s] OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE