Last updated on 2024-11-23 09:49:56 CET.
Package | ERROR | OK |
---|---|---|
RRBoost | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1
Check: dependencies in R code
Result: WARN
Missing or unexported object: ‘RobStatTM::mscale’
Flavor: r-release-linux-x86_64
Version: 0.1
Check: Rd files
Result: NOTE
checkRd: (-1) Boost.Rd:40: Lost braces; missing escapes or markup?
40 | \item{niter}{number of boosting iterations (for RRBoost: T_{1,max} + T_{2,max}) (numeric)}
| ^
checkRd: (-1) Boost.Rd:40: Lost braces; missing escapes or markup?
40 | \item{niter}{number of boosting iterations (for RRBoost: T_{1,max} + T_{2,max}) (numeric)}
| ^
checkRd: (-1) Boost.Rd:54: Lost braces; missing escapes or markup?
54 | \item{niter}{number of iterations for the boosting algorithm (for RRBoost T_{1,max} + T_{2,max}) (numeric)}
| ^
checkRd: (-1) Boost.Rd:54: Lost braces; missing escapes or markup?
54 | \item{niter}{number of iterations for the boosting algorithm (for RRBoost T_{1,max} + T_{2,max}) (numeric)}
| ^
checkRd: (-1) Boost.control.Rd:25: Lost braces; missing escapes or markup?
25 | \item{n_init}{number of iterations for the SBoost step of RRBoost ($T_{1,max}$) (int)}
| ^
checkRd: (-1) Boost.validation.Rd:41: Lost braces; missing escapes or markup?
41 | \item{niter}{number of iterations (for RRBoost T_{1,max} + T_{2,max}) (numeric)}
| ^
checkRd: (-1) Boost.validation.Rd:41: Lost braces; missing escapes or markup?
41 | \item{niter}{number of iterations (for RRBoost T_{1,max} + T_{2,max}) (numeric)}
| ^
Flavor: r-release-linux-x86_64
Version: 0.1
Check: examples
Result: ERROR
Running examples in ‘RRBoost-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Boost
> ### Title: Robust Boosting for regression
> ### Aliases: Boost
>
> ### ** Examples
>
> data(airfoil)
> n <- nrow(airfoil)
> n0 <- floor( 0.2 * n )
> set.seed(123)
> idx_test <- sample(n, n0)
> idx_train <- sample((1:n)[-idx_test], floor( 0.6 * n ) )
> idx_val <- (1:n)[ -c(idx_test, idx_train) ]
> xx <- airfoil[, -6]
> yy <- airfoil$y
> xtrain <- xx[ idx_train, ]
> ytrain <- yy[ idx_train ]
> xval <- xx[ idx_val, ]
> yval <- yy[ idx_val ]
> xtest <- xx[ idx_test, ]
> ytest <- yy[ idx_test ]
> model_RRBoost_LADTree = Boost(x_train = xtrain, y_train = ytrain,
+ x_val = xval, y_val = yval, x_test = xtest, y_test = ytest,
+ type = "RRBoost", error = "rmse", y_init = "LADTree",
+ max_depth = 1, niter = 10, ## to keep the running time low
+ control = Boost.control(max_depth_init = 2,
+ min_leaf_size_init = 20, make_prediction = TRUE,
+ cal_imp = FALSE))
Error: 'mscale' is not an exported object from 'namespace:RobStatTM'
Execution halted
Flavor: r-release-linux-x86_64