Last updated on 2025-12-04 09:50:11 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.2 | 2.17 | 37.16 | 39.33 | NOTE | |
| r-devel-linux-x86_64-debian-gcc | 0.1.2 | 1.75 | 28.26 | 30.01 | NOTE | |
| r-devel-linux-x86_64-fedora-clang | 0.1.2 | 16.00 | 43.71 | 59.71 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.2 | 14.00 | 59.47 | 73.47 | ERROR | |
| r-devel-windows-x86_64 | 0.1.2 | 4.00 | 54.00 | 58.00 | OK | |
| r-patched-linux-x86_64 | 0.1.2 | 2.04 | 33.70 | 35.74 | NOTE | |
| r-release-linux-x86_64 | 0.1.2 | 2.30 | 34.64 | 36.94 | NOTE | |
| r-release-macos-arm64 | 0.1.2 | OK | ||||
| r-release-macos-x86_64 | 0.1.2 | 2.00 | 50.00 | 52.00 | OK | |
| r-release-windows-x86_64 | 0.1.2 | 5.00 | 66.00 | 71.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.2 | NOTE | ||||
| r-oldrel-macos-x86_64 | 0.1.2 | 2.00 | 39.00 | 41.00 | NOTE | |
| r-oldrel-windows-x86_64 | 0.1.2 | 5.00 | 64.00 | 69.00 | NOTE |
Version: 0.1.2
Check: for non-standard things in the check directory
Result: NOTE
Found the following files/directories:
‘xgb.txt’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.2
Check: examples
Result: ERROR
Running examples in ‘xgb2sql-Ex.R’ failed
The error most likely occurred in:
> ### Name: booster2sql
> ### Title: Transform XGBoost model object to SQL query.
> ### Aliases: booster2sql
>
> ### ** Examples
>
> library(xgboost)
> # load data
> df = data.frame(ggplot2::diamonds)
> head(df)
carat cut color clarity depth table price x y z
1 0.23 Ideal E SI2 61.5 55 326 3.95 3.98 2.43
2 0.21 Premium E SI1 59.8 61 326 3.89 3.84 2.31
3 0.23 Good E VS1 56.9 65 327 4.05 4.07 2.31
4 0.29 Premium I VS2 62.4 58 334 4.20 4.23 2.63
5 0.31 Good J SI2 63.3 58 335 4.34 4.35 2.75
6 0.24 Very Good J VVS2 62.8 57 336 3.94 3.96 2.48
>
> # data processing
> out <- onehot2sql(df)
> x <- out$model.matrix[,colnames(out$model.matrix)!='price']
> y <- out$model.matrix[,colnames(out$model.matrix)=='price']
>
> # model training
> bst <- xgboost(data = x,
+ label = y,
+ max.depth = 3,
+ eta = .3,
+ nround = 5,
+ nthread = 1,
+ objective = 'reg:linear')
Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), :
Passed unrecognized parameters: max.depth. 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 'label' has been renamed to 'y'. 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 process.y.margin.and.objective(y, base_margin, objective, params) :
Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: reg:linear
Calls: xgboost -> process.y.margin.and.objective
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘xgb2sql.Rmd’ using rmarkdown
Quitting from xgb2sql.Rmd:221-231 [unnamed-chunk-6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `process.y.margin.and.objective()`:
! Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: reg:linear
---
Backtrace:
▆
1. └─xgboost::xgboost(...)
2. └─xgboost:::process.y.margin.and.objective(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'xgb2sql.Rmd' failed with diagnostics:
Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: reg:linear
--- failed re-building ‘xgb2sql.Rmd’
SUMMARY: processing the following file failed:
‘xgb2sql.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.2
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-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.
Health stats visible at Monitor.