* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/mlspatial.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 ‘mlspatial/DESCRIPTION’ ... OK * this is package ‘mlspatial’ version ‘0.1.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 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 ‘mlspatial’ can be installed ... [33s/34s] 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 ... [11s/12s] OK * checking whether the package can be loaded with stated dependencies ... [10s/11s] OK * checking whether the package can be unloaded cleanly ... [11s/11s] OK * checking whether the namespace can be loaded with stated dependencies ... [10s/11s] OK * checking whether the namespace can be unloaded cleanly ... [10s/11s] OK * checking loading without being on the library search path ... [11s/11s] 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 ... [42s/44s] 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 ... [11s/11s] OK * checking examples with --run-donttest ... [14s/14s] ERROR Running examples in ‘mlspatial-Ex.R’ failed The error most likely occurred in: > ### Name: train_xgb > ### Title: Train XGBoost model > ### Aliases: train_xgb > > ### ** Examples > > ## No test: > # Load required package > library(xgboost) > > # Use built-in dataset > data(mtcars) > > # Define regression formula > xgb_formula <- mpg ~ cyl + disp + hp + wt > > # Train XGBoost model > xgb_model <- train_xgb(data = mtcars, formula = xgb_formula, nrounds = 50) Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), : Passed unrecognized parameters: verbose. This warning will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'data' has been renamed to 'x'. This warning will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'eta' has been renamed to 'learning_rate'. This warning will become an error in a future version. Error in xgboost::xgboost(data = dtrain, objective = "reg:squarederror", : argument "y" is missing, with no default Calls: train_xgb ... -> process.y.margin.and.objective -> NROW Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [10s/11s] [10s/11s] OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [36s/37s] ERROR Error(s) in re-building vignettes: ... --- re-building ‘mlspatial.Rmd’ using rmarkdown Quitting from mlspatial.Rmd:127-181 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `xgboost()`: ! argument "y" is missing, with no default --- Backtrace: ▆ 1. └─xgboost::xgboost(...) 2. └─xgboost:::process.y.margin.and.objective(...) 3. └─base::NROW(y) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'mlspatial.Rmd' failed with diagnostics: argument "y" is missing, with no default --- failed re-building ‘mlspatial.Rmd’ SUMMARY: processing the following file failed: ‘mlspatial.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: 2 ERRORs See ‘/data/blackswan/ripley/R/packages/tests-devel/mlspatial.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 5:47.09, 305.96 + 29.64