CRAN Package Check Results for Package cpi

Last updated on 2025-12-28 05:49:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 4.13 74.21 78.34 OK
r-devel-linux-x86_64-debian-gcc 0.1.5 3.17 54.11 57.28 OK
r-devel-linux-x86_64-fedora-clang 0.1.5 7.00 119.27 126.27 OK
r-devel-linux-x86_64-fedora-gcc 0.1.5 7.00 136.24 143.24 OK
r-devel-windows-x86_64 0.1.5 6.00 64.00 70.00 ERROR
r-patched-linux-x86_64 0.1.5 3.75 64.55 68.30 OK
r-release-linux-x86_64 0.1.5 3.63 66.95 70.58 OK
r-release-macos-arm64 0.1.5 OK
r-release-macos-x86_64 0.1.5 2.00 97.00 99.00 OK
r-release-windows-x86_64 0.1.5 6.00 80.00 86.00 OK
r-oldrel-macos-arm64 0.1.5 OK
r-oldrel-macos-x86_64 0.1.5 3.00 107.00 110.00 OK
r-oldrel-windows-x86_64 0.1.5 7.00 99.00 106.00 OK

Check Details

Version: 0.1.5
Check: examples
Result: ERROR Running examples in 'cpi-Ex.R' failed The error most likely occurred in: > ### Name: cpi > ### Title: Conditional Predictive Impact (CPI). > ### Aliases: cpi > > ### ** Examples > > library(mlr3) > library(mlr3learners) > > # Regression with linear model and holdout validation > cpi(task = tsk("mtcars"), learner = lrn("regr.lm"), + resampling = rsmp("holdout")) Error in `[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash") : attempt access index 9/9 in VECTOR_ELT Calls: cpi ... initialize -> .__ResultData__initialize -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.5
Check: tests
Result: ERROR Running 'testthat.R' [4s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(cpi) > > test_check("cpi") Saving _problems/test-check_args-7.R Saving _problems/test-check_args-21.R Saving _problems/test-check_args-36.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 1 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-check_args.R:6:3'): returns object of correct dimensions, regression ── Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─cpi::cpi(task = task, learner = lrn("regr.lm"), resampling = rsmp("holdout")) at test-check_args.R:6:3 2. └─cpi:::fit_learner(...) 3. └─mlr3::resample(task, learner, resampling, store_models = TRUE) 4. └─ResultData$new(data, data_extra, store_backends = store_backends) 5. └─mlr3 (local) initialize(...) 6. └─mlr3:::.__ResultData__initialize(...) 7. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"] 8. └─data.table:::`[.data.table`(...) ── Error ('test-check_args.R:19:3'): returns object of correct dimensions, classification ── Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─cpi::cpi(...) at test-check_args.R:19:3 2. └─cpi:::fit_learner(...) 3. └─mlr3::resample(task, learner, resampling, store_models = TRUE) 4. └─ResultData$new(data, data_extra, store_backends = store_backends) 5. └─mlr3 (local) initialize(...) 6. └─mlr3:::.__ResultData__initialize(...) 7. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"] 8. └─data.table:::`[.data.table`(...) ── Error ('test-check_args.R:33:3'): returns object of correct dimensions, group classification ── Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─cpi::cpi(...) at test-check_args.R:33:3 2. └─cpi:::fit_learner(...) 3. └─mlr3::resample(task, learner, resampling, store_models = TRUE) 4. └─ResultData$new(data, data_extra, store_backends = store_backends) 5. └─mlr3 (local) initialize(...) 6. └─mlr3:::.__ResultData__initialize(...) 7. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"] 8. └─data.table:::`[.data.table`(...) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 1 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'intro.Rmd' using rmarkdown Quitting from intro.Rmd:25-33 [first_example] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 9/9 in VECTOR_ELT --- Backtrace: ▆ 1. └─cpi::cpi(...) 2. └─cpi:::fit_learner(...) 3. └─mlr3::resample(task, learner, resampling, store_models = TRUE) 4. └─ResultData$new(data, data_extra, store_backends = store_backends) 5. └─mlr3 (local) initialize(...) 6. └─mlr3:::.__ResultData__initialize(...) 7. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"] 8. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'intro.Rmd' failed with diagnostics: attempt access index 9/9 in VECTOR_ELT --- failed re-building 'intro.Rmd' SUMMARY: processing the following file failed: 'intro.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-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.