- using R Under development (unstable) (2025-12-02 r89085)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.6
flang version 21.1.6
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘mixgb/DESCRIPTION’ ... OK
- this is package ‘mixgb’ version ‘1.5.3’
- 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 ‘mixgb’ can be installed ... [137s/328s] OK
See the install log for details.
- used C++ compiler: ‘clang version 21.1.6’
- 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 ... [6s/31s] OK
- checking whether the package can be loaded with stated dependencies ... [5s/26s] OK
- checking whether the package can be unloaded cleanly ... [5s/21s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s/22s] OK
- checking whether the namespace can be unloaded cleanly ... [6s/25s] OK
- checking loading without being on the library search path ... [6s/28s] 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 ... [49s/194s] 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 line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [8s/35s] ERROR
Running examples in ‘mixgb-Ex.R’ failed
The error most likely occurred in:
> ### Name: mixgb_cv
> ### Title: Use cross-validation to find the optimal 'nrounds'
> ### Aliases: mixgb_cv
>
> ### ** Examples
>
> params <- list(max_depth = 3, subsample = 0.7, nthread = 2)
> cv.results <- mixgb_cv(data = nhanes3, xgb.params = params)
Warning in throw_err_or_depr_msg("Parameter(s) have been removed from this function: ", :
Parameter(s) have been removed from this function: label. This warning will become an error in a future version.
Error in xgb.cv(data = obs.data, params = xgb.params, label = obs.y, objective = obj.type, :
inherits(data, "xgb.DMatrix") is not TRUE
Calls: mixgb_cv -> xgb.cv -> stopifnot
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [11s/58s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘Imputing-newdata.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘Imputing-newdata.Rmd’
--- re-building ‘Using-mixgb.Rmd’ using rmarkdown
Quitting from Using-mixgb.Rmd:114-120 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `xgb.cv()`:
! inherits(data, "xgb.DMatrix") is not TRUE
---
Backtrace:
▆
1. └─mixgb::mixgb_cv(...)
2. └─xgboost::xgb.cv(...)
3. └─base::stopifnot(inherits(data, "xgb.DMatrix"))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Using-mixgb.Rmd' failed with diagnostics:
inherits(data, "xgb.DMatrix") is not TRUE
--- failed re-building ‘Using-mixgb.Rmd’
SUMMARY: processing the following file failed:
‘Using-mixgb.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [8s/41s] OK
- checking HTML version of manual ... [2s/13s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs