Last updated on 2025-12-04 07:51:29 CET.
| Package | ERROR | OK |
|---|---|---|
| MIC | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 1.2.0
Check: dependencies in R code
Result: WARN
Missing or unexported object: ‘xgboost::slice’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.2.0
Check: examples
Result: ERROR
Running examples in ‘MIC-Ex.R’ failed
The error most likely occurred in:
> ### Name: xgb.cv.lowmem
> ### Title: Low memory cross-validation wrapper for XGBoost
> ### Aliases: xgb.cv.lowmem
>
> ### ** Examples
>
> train <- list(data = matrix(rnorm(20), ncol = 2),
+ label = rbinom(10, 1, 0.5))
> dtrain <- xgboost::xgb.DMatrix(train$data, label = train$label, nthread = 1)
> cv <- xgb.cv.lowmem(data = dtrain,
+ params = list(objective = "binary:logistic"),
+ nrounds = 2,
+ nfold = 3,
+ prediction = TRUE,
+ nthread = 1)
Warning: `xgb.cv.lowmem()` was deprecated in MIC 1.2.0.
ℹ Please use `faLearn::xgb.cv.lowmem()` instead.
ℹ This function has been moved to the faLearn package.
Error: 'slice' is not an exported object from 'namespace:xgboost'
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5m/12m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(MIC)
Attaching package: 'MIC'
The following object is masked from 'package:base':
table
>
> test_check("MIC")
Saving _problems/test-cv-148.R
[ FAIL 1 | WARN 420 | SKIP 4 | PASS 231 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-cv.R:4:3', 'test-patric.R:17:3', 'test-patric.R:32:3',
'test-patric.R:39:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cv.R:148:3'): iris example ─────────────────────────────────────
Error in `apply(model$pred, 1, which.max)`: dim(X) must have a positive length
Backtrace:
▆
1. └─base::apply(model$pred, 1, which.max) at test-cv.R:148:3
[ FAIL 1 | WARN 420 | SKIP 4 | PASS 231 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5m/20m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(MIC)
Attaching package: 'MIC'
The following object is masked from 'package:base':
table
>
> test_check("MIC")
Saving _problems/test-cv-148.R
[ FAIL 1 | WARN 420 | SKIP 4 | PASS 231 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-cv.R:4:3', 'test-patric.R:17:3', 'test-patric.R:32:3',
'test-patric.R:39:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cv.R:148:3'): iris example ─────────────────────────────────────
Error in `apply(model$pred, 1, which.max)`: dim(X) must have a positive length
Backtrace:
▆
1. └─base::apply(model$pred, 1, which.max) at test-cv.R:148:3
[ FAIL 1 | WARN 420 | SKIP 4 | PASS 231 ]
Error:
! Test failures.
Execution halted
Flavor: 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.