Last updated on 2025-12-20 11:50:41 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.7 | 9.53 | 73.90 | 83.43 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.2.7 | 5.87 | 53.00 | 58.87 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.2.7 | 16.00 | 111.89 | 127.89 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.7 | 14.00 | 101.98 | 115.98 | ERROR | |
| r-devel-windows-x86_64 | 0.2.7 | 10.00 | 143.00 | 153.00 | OK | |
| r-patched-linux-x86_64 | 0.2.7 | 7.67 | 217.09 | 224.76 | OK | |
| r-release-linux-x86_64 | 0.2.7 | 7.76 | 216.25 | 224.01 | OK | |
| r-release-macos-arm64 | 0.2.7 | OK | ||||
| r-release-macos-x86_64 | 0.2.7 | 6.00 | 116.00 | 122.00 | OK | |
| r-release-windows-x86_64 | 0.2.7 | 11.00 | 140.00 | 151.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.7 | OK | ||||
| r-oldrel-macos-x86_64 | 0.2.7 | 6.00 | 182.00 | 188.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.7 | 14.00 | 174.00 | 188.00 | OK |
Version: 0.2.7
Check: examples
Result: ERROR
Running examples in ‘tidyrules-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: augment.rulelist
> ### Title: Augment a rulelist
> ### Aliases: augment.rulelist
>
> ### ** Examples
>
> # Examples for augment ------------------------------------------------------
> library("magrittr")
>
> # C5 ----
> att = modeldata::attrition
> set.seed(100)
> train_index = sample(c(TRUE, FALSE), nrow(att), replace = TRUE)
>
> model_c5 = C50::C5.0(Attrition ~., data = att[train_index, ], rules = TRUE)
> tidy_c5 =
+ model_c5 %>%
+ tidy() %>%
+ set_validation_data(att[!train_index, ], "Attrition")
Error in `[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", :
attempt access index 6/6 in VECTOR_ELT
Calls: %>% ... mutate -> mutate.tidytable -> eval_tidy -> [ -> [.data.table
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.2.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidyrules)
>
> test_check("tidyrules")
Saving _problems/test-c5-13.R
Saving _problems/test-cubist-17.R
Saving _problems/test-rulelist-16.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 17 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-c5.R:13:1'): (code run outside of `test_that()`) ───────────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(c5_att) at test-c5.R:13:1
2. ├─tidyrules:::tidy.C5.0(c5_att)
3. │ └─... %>% relocate(rule_nbr, trial_nbr)
4. ├─tidytable::relocate(., rule_nbr, trial_nbr)
5. ├─tidytable::mutate(., RHS = factor(RHS))
6. ├─tidytable::mutate(., rule_nbr = 1:n(), .by = trial_nbr)
7. ├─tidytable:::mutate.tidytable(., rule_nbr = 1:n(), .by = trial_nbr)
8. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
9. ├─.df[, `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE]
10. └─data.table:::`[.data.table`(...)
── Error ('test-cubist.R:17:1'): (code run outside of `test_that()`) ───────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = seq_len(.N)), by = "committee", keyby = FALSE)`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(cb_att) at test-cubist.R:17:1
2. ├─tidyrules:::tidy.cubist(cb_att)
3. │ └─... %>% ...
4. ├─tidytable::mutate(., rule_nbr = tidytable::row_number(), .by = committee)
5. ├─tidytable:::mutate.tidytable(...)
6. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
7. ├─.df[, `:=`(rule_nbr = seq_len(.N)), by = "committee", keyby = FALSE]
8. └─data.table:::`[.data.table`(...)
── Error ('test-rulelist.R:16:1'): (code run outside of `test_that()`) ─────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(model_c5) at test-rulelist.R:16:1
2. ├─tidyrules:::tidy.C5.0(model_c5)
3. │ └─... %>% relocate(rule_nbr, trial_nbr)
4. ├─tidytable::relocate(., rule_nbr, trial_nbr)
5. ├─tidytable::mutate(., RHS = factor(RHS))
6. ├─tidytable::mutate(., rule_nbr = 1:n(), .by = trial_nbr)
7. ├─tidytable:::mutate.tidytable(., rule_nbr = 1:n(), .by = trial_nbr)
8. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
9. ├─.df[, `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE]
10. └─data.table:::`[.data.table`(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 17 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidyrules)
>
> test_check("tidyrules")
Saving _problems/test-c5-13.R
Saving _problems/test-cubist-17.R
Saving _problems/test-rulelist-16.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 17 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-c5.R:13:1'): (code run outside of `test_that()`) ───────────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(c5_att) at test-c5.R:13:1
2. ├─tidyrules:::tidy.C5.0(c5_att)
3. │ └─... %>% relocate(rule_nbr, trial_nbr)
4. ├─tidytable::relocate(., rule_nbr, trial_nbr)
5. ├─tidytable::mutate(., RHS = factor(RHS))
6. ├─tidytable::mutate(., rule_nbr = 1:n(), .by = trial_nbr)
7. ├─tidytable:::mutate.tidytable(., rule_nbr = 1:n(), .by = trial_nbr)
8. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
9. ├─.df[, `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE]
10. └─data.table:::`[.data.table`(...)
── Error ('test-cubist.R:17:1'): (code run outside of `test_that()`) ───────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = seq_len(.N)), by = "committee", keyby = FALSE)`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(cb_att) at test-cubist.R:17:1
2. ├─tidyrules:::tidy.cubist(cb_att)
3. │ └─... %>% ...
4. ├─tidytable::mutate(., rule_nbr = tidytable::row_number(), .by = committee)
5. ├─tidytable:::mutate.tidytable(...)
6. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
7. ├─.df[, `:=`(rule_nbr = seq_len(.N)), by = "committee", keyby = FALSE]
8. └─data.table:::`[.data.table`(...)
── Error ('test-rulelist.R:16:1'): (code run outside of `test_that()`) ─────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(model_c5) at test-rulelist.R:16:1
2. ├─tidyrules:::tidy.C5.0(model_c5)
3. │ └─... %>% relocate(rule_nbr, trial_nbr)
4. ├─tidytable::relocate(., rule_nbr, trial_nbr)
5. ├─tidytable::mutate(., RHS = factor(RHS))
6. ├─tidytable::mutate(., rule_nbr = 1:n(), .by = trial_nbr)
7. ├─tidytable:::mutate.tidytable(., rule_nbr = 1:n(), .by = trial_nbr)
8. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
9. ├─.df[, `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE]
10. └─data.table:::`[.data.table`(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 17 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.7
Check: examples
Result: ERROR
Running examples in ‘tidyrules-Ex.R’ failed
The error most likely occurred in:
> ### Name: augment.rulelist
> ### Title: Augment a rulelist
> ### Aliases: augment.rulelist
>
> ### ** Examples
>
> # Examples for augment ------------------------------------------------------
> library("magrittr")
>
> # C5 ----
> att = modeldata::attrition
> set.seed(100)
> train_index = sample(c(TRUE, FALSE), nrow(att), replace = TRUE)
>
> model_c5 = C50::C5.0(Attrition ~., data = att[train_index, ], rules = TRUE)
> tidy_c5 =
+ model_c5 %>%
+ tidy() %>%
+ set_validation_data(att[!train_index, ], "Attrition")
Error in `[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", :
attempt access index 6/6 in VECTOR_ELT
Calls: %>% ... mutate -> mutate.tidytable -> eval_tidy -> [ -> [.data.table
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [13s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidyrules)
>
> test_check("tidyrules")
Saving _problems/test-c5-13.R
Saving _problems/test-cubist-17.R
Saving _problems/test-rulelist-16.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 17 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-c5.R:13:1'): (code run outside of `test_that()`) ───────────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(c5_att) at test-c5.R:13:1
2. ├─tidyrules:::tidy.C5.0(c5_att)
3. │ └─... %>% relocate(rule_nbr, trial_nbr)
4. ├─tidytable::relocate(., rule_nbr, trial_nbr)
5. ├─tidytable::mutate(., RHS = factor(RHS))
6. ├─tidytable::mutate(., rule_nbr = 1:n(), .by = trial_nbr)
7. ├─tidytable:::mutate.tidytable(., rule_nbr = 1:n(), .by = trial_nbr)
8. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
9. ├─.df[, `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE]
10. └─data.table:::`[.data.table`(...)
── Error ('test-cubist.R:17:1'): (code run outside of `test_that()`) ───────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = seq_len(.N)), by = "committee", keyby = FALSE)`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(cb_att) at test-cubist.R:17:1
2. ├─tidyrules:::tidy.cubist(cb_att)
3. │ └─... %>% ...
4. ├─tidytable::mutate(., rule_nbr = tidytable::row_number(), .by = committee)
5. ├─tidytable:::mutate.tidytable(...)
6. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
7. ├─.df[, `:=`(rule_nbr = seq_len(.N)), by = "committee", keyby = FALSE]
8. └─data.table:::`[.data.table`(...)
── Error ('test-rulelist.R:16:1'): (code run outside of `test_that()`) ─────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(model_c5) at test-rulelist.R:16:1
2. ├─tidyrules:::tidy.C5.0(model_c5)
3. │ └─... %>% relocate(rule_nbr, trial_nbr)
4. ├─tidytable::relocate(., rule_nbr, trial_nbr)
5. ├─tidytable::mutate(., RHS = factor(RHS))
6. ├─tidytable::mutate(., rule_nbr = 1:n(), .by = trial_nbr)
7. ├─tidytable:::mutate.tidytable(., rule_nbr = 1:n(), .by = trial_nbr)
8. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
9. ├─.df[, `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE]
10. └─data.table:::`[.data.table`(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 17 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.2.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidyrules)
>
> test_check("tidyrules")
Saving _problems/test-c5-13.R
Saving _problems/test-cubist-17.R
Saving _problems/test-rulelist-16.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 17 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-c5.R:13:1'): (code run outside of `test_that()`) ───────────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(c5_att) at test-c5.R:13:1
2. ├─tidyrules:::tidy.C5.0(c5_att)
3. │ └─... %>% relocate(rule_nbr, trial_nbr)
4. ├─tidytable::relocate(., rule_nbr, trial_nbr)
5. ├─tidytable::mutate(., RHS = factor(RHS))
6. ├─tidytable::mutate(., rule_nbr = 1:n(), .by = trial_nbr)
7. ├─tidytable:::mutate.tidytable(., rule_nbr = 1:n(), .by = trial_nbr)
8. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
9. ├─.df[, `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE]
10. └─data.table:::`[.data.table`(...)
── Error ('test-cubist.R:17:1'): (code run outside of `test_that()`) ───────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = seq_len(.N)), by = "committee", keyby = FALSE)`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(cb_att) at test-cubist.R:17:1
2. ├─tidyrules:::tidy.cubist(cb_att)
3. │ └─... %>% ...
4. ├─tidytable::mutate(., rule_nbr = tidytable::row_number(), .by = committee)
5. ├─tidytable:::mutate.tidytable(...)
6. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
7. ├─.df[, `:=`(rule_nbr = seq_len(.N)), by = "committee", keyby = FALSE]
8. └─data.table:::`[.data.table`(...)
── Error ('test-rulelist.R:16:1'): (code run outside of `test_that()`) ─────────
Error in ``[.data.table`(~.df, , `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. ├─generics::tidy(model_c5) at test-rulelist.R:16:1
2. ├─tidyrules:::tidy.C5.0(model_c5)
3. │ └─... %>% relocate(rule_nbr, trial_nbr)
4. ├─tidytable::relocate(., rule_nbr, trial_nbr)
5. ├─tidytable::mutate(., RHS = factor(RHS))
6. ├─tidytable::mutate(., rule_nbr = 1:n(), .by = trial_nbr)
7. ├─tidytable:::mutate.tidytable(., rule_nbr = 1:n(), .by = trial_nbr)
8. │ └─rlang::eval_tidy(dt_expr, .df, dt_env)
9. ├─.df[, `:=`(rule_nbr = 1:.N), by = "trial_nbr", keyby = FALSE]
10. └─data.table:::`[.data.table`(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 17 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc