CRAN Package Check Results for Maintainer ‘Yongshi Deng <agnes.yongshideng at gmail.com>’

Last updated on 2025-12-07 07:50:19 CET.

Package ERROR OK
mixgb 5 8

Package mixgb

Current CRAN status: ERROR: 5, OK: 8

Version: 1.5.3
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'rmarkdown' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

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: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.5.3
Check: examples
Result: 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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-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-fedora-clang, r-devel-linux-x86_64-fedora-gcc

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 Flavor: 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 --- 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 Flavor: r-oldrel-windows-x86_64