Last updated on 2025-12-04 09:50:26 CET.
| Package | ERROR | OK |
|---|---|---|
| PoweREST | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in ‘PoweREST-Ex.R’ failed
The error most likely occurred in:
> ### Name: fit_XGBoost
> ### Title: Fit with XGBoost
> ### Aliases: fit_XGBoost
>
> ### ** Examples
>
> data(power_example)
> # Fit the local power surface of avg_log2FC_abs between 1 and 2
> avg_log2FC_abs_1_2<-dplyr::filter(power_example,avg_log2FC_abs>1 & avg_log2FC_abs<2)
> # Fit the model
> bst<-fit_XGBoost(power_example$power,avg_log2FC=power_example$avg_log2FC_abs,
+ avg_PCT=power_example$mean_pct,replicates=power_example$sample_size)
Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), :
Passed unrecognized parameters: max.depth, 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 '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 'eta' has been renamed to 'learning_rate'. This warning will become an error in a future version.
Error in xgboost::xgboost(data = dtrain, max.depth = max.depth, eta = eta, :
argument "y" is missing, with no default
Calls: fit_XGBoost ... <Anonymous> -> process.y.margin.and.objective -> NROW
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
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.