* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/treeshap.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 ‘treeshap/DESCRIPTION’ ... OK * this is package ‘treeshap’ version ‘0.3.1’ * 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 ‘treeshap’ can be installed ... [27s/27s] OK * used C++ compiler: ‘g++ (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)’ * checking package directory ... OK * checking DESCRIPTION meta-information ... NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘ranger_surv.unify.Rd’ * 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 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘treeshap-Ex.R’ failed The error most likely occurred in: > ### Name: plot_contribution > ### Title: SHAP value based Break-Down plot > ### Aliases: plot_contribution > > ### ** Examples > > ## No test: > library(xgboost) > data <- fifa20$data[colnames(fifa20$data) != 'work_rate'] > target <- fifa20$target > param <- list(objective = "reg:squarederror", max_depth = 3) > xgb_model <- xgboost::xgboost(as.matrix(data), params = param, label = target, + nrounds = 20, verbose = FALSE) Warning in throw_err_or_depr_msg("Parameter(s) have been removed from this function: ", : Parameter(s) have been removed from this function: params. This warning will become an error in a future version. 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 'label' has been renamed to 'y'. This warning will become an error in a future version. > unified_model <- xgboost.unify(xgb_model, as.matrix(data)) Error in xgboost.unify(xgb_model, as.matrix(data)) : c("Tree", "Node", "ID", "Feature", "Split", "Yes", "No", "Missing", .... are not all TRUE Calls: xgboost.unify -> stopifnot 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: 1 ERROR, 1 NOTE See ‘/data/blackswan/ripley/R/packages/tests-devel/treeshap.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:40.74, 83.83 + 17.23