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.2.2 | 9.39 | 99.81 | 109.20 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.2 | 6.93 | 66.37 | 73.30 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.2.2 | 65.00 | 116.64 | 181.64 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.2 | 54.00 | 114.57 | 168.57 | ERROR | |
| r-devel-windows-x86_64 | 0.2.2 | 10.00 | 98.00 | 108.00 | OK | |
| r-patched-linux-x86_64 | 0.2.2 | 9.76 | 86.81 | 96.57 | OK | |
| r-release-linux-x86_64 | 0.2.2 | 8.59 | 88.52 | 97.11 | OK | |
| r-release-macos-arm64 | 0.2.2 | OK | ||||
| r-release-macos-x86_64 | 0.2.2 | 9.00 | 81.00 | 90.00 | OK | |
| r-release-windows-x86_64 | 0.2.2 | 10.00 | 114.00 | 124.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.2 | OK | ||||
| r-oldrel-macos-x86_64 | 0.2.2 | 7.00 | 63.00 | 70.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.2 | 16.00 | 124.00 | 140.00 | OK |
Version: 0.2.2
Check: examples
Result: ERROR
Running examples in ‘xrf-Ex.R’ failed
The error most likely occurred in:
> ### Name: summary.xrf
> ### Title: Summarize an eXtreme RuleFit model
> ### Aliases: summary.xrf
>
> ### ** Examples
>
> m <- xrf(Petal.Length ~ ., iris,
+ xgb_control = list(nrounds = 2, max_depth = 2),
+ family = 'gaussian')
Warning in throw_err_or_depr_msg("Parameter(s) have been removed from this function: ", :
Parameter(s) have been removed from this function: params. This warning will become an error in a future version.
Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), :
Passed unrecognized parameters: 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 'label' has been renamed to 'y'. This warning will become an error in a future version.
> summary(m)
An eXtreme RuleFit model of 11 rules.
Original Formula:
Petal.Length ~ Sepal.Length + Sepal.Width + Petal.Width + Species
Tree model:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'object' in selecting a method for function 'show': length of 'dimnames' [1] not equal to array extent
Calls: summary ... summary.default -> array -> .handleSimpleError -> h
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [24s/68s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(xrf)
>
> test_check("xrf")
Saving _problems/test_model-39.R
Saving _problems/test_model-48.R
Saving _problems/test_model-56.R
[ FAIL 3 | WARN 44 | SKIP 0 | PASS 12 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_model.R:38:3'): model from dense design matrix has expected fields ──
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: binary:logistic
Backtrace:
▆
1. ├─xrf::xrf(...) at test_model.R:38:3
2. └─xrf:::xrf.formula(...)
3. └─xgboost::xgboost(...)
4. └─xgboost:::process.y.margin.and.objective(...)
── Error ('test_model.R:47:3'): model from sparse design matrix has expected fields ──
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: binary:logistic
Backtrace:
▆
1. ├─xrf::xrf(...) at test_model.R:47:3
2. └─xrf:::xrf.formula(...)
3. └─xgboost::xgboost(...)
4. └─xgboost:::process.y.margin.and.objective(...)
── Error ('test_model.R:54:3'): model predicts binary outcome ──────────────────
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: binary:logistic
Backtrace:
▆
1. ├─xrf::xrf(...) at test_model.R:54:3
2. └─xrf:::xrf.formula(...)
3. └─xgboost::xgboost(...)
4. └─xgboost:::process.y.margin.and.objective(...)
[ FAIL 3 | WARN 44 | SKIP 0 | PASS 12 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [24s/62s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(xrf)
>
> test_check("xrf")
Saving _problems/test_model-39.R
Saving _problems/test_model-48.R
Saving _problems/test_model-56.R
[ FAIL 3 | WARN 44 | SKIP 0 | PASS 12 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_model.R:38:3'): model from dense design matrix has expected fields ──
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: binary:logistic
Backtrace:
▆
1. ├─xrf::xrf(...) at test_model.R:38:3
2. └─xrf:::xrf.formula(...)
3. └─xgboost::xgboost(...)
4. └─xgboost:::process.y.margin.and.objective(...)
── Error ('test_model.R:47:3'): model from sparse design matrix has expected fields ──
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: binary:logistic
Backtrace:
▆
1. ├─xrf::xrf(...) at test_model.R:47:3
2. └─xrf:::xrf.formula(...)
3. └─xgboost::xgboost(...)
4. └─xgboost:::process.y.margin.and.objective(...)
── Error ('test_model.R:54:3'): model predicts binary outcome ──────────────────
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: binary:logistic
Backtrace:
▆
1. ├─xrf::xrf(...) at test_model.R:54:3
2. └─xrf:::xrf.formula(...)
3. └─xgboost::xgboost(...)
4. └─xgboost:::process.y.margin.and.objective(...)
[ FAIL 3 | WARN 44 | SKIP 0 | PASS 12 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc