Last updated on 2025-12-08 15:49:56 CET.
| Package | ERROR | OK |
|---|---|---|
| mixgb | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 1.5.3
Check: examples
Result: ERROR
Running examples in ‘mixgb-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 1.5.3
Check: re-building of vignette outputs
Result: 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
Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.