CRAN Package Check Results for Maintainer ‘Benoît Depaire <benoit.depaire at uhasselt.be>’

Last updated on 2025-12-21 11:50:25 CET.

Package ERROR WARN OK
bupaR 4 9
edeaR 4 9

Package bupaR

Current CRAN status: WARN: 4, OK: 9

Version: 1.0.0
Check: for code/documentation mismatches
Result: WARN Codoc mismatches from Rd file 'fill.Rd': fill Code: function(data, ..., .by = NULL, .direction = c("down", "up", "downup", "updown")) Docs: function(data, ..., .direction = c("down", "up", "downup", "updown")) Argument names in code not in docs: .by Mismatches in argument names: Position: 3 Code: .by Docs: .direction Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Package edeaR

Current CRAN status: ERROR: 4, OK: 9

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [19s/14s] 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(edeaR) Attaching package: 'edeaR' The following object is masked from 'package:base': setdiff > > test_check("edeaR") Saving _problems/test_idle_time-9.R Saving _problems/test_idle_time-28.R Saving _problems/test_idle_time-48.R Saving _problems/test_idle_time-69.R Saving _problems/test_idle_time-90.R Saving _problems/test_idle_time-114.R Saving _problems/test_idle_time-136.R Saving _problems/test_idle_time-159.R [ FAIL 8 | WARN 0 | SKIP 0 | PASS 106 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_idle_time.R:8:3'): test idle_time attr 'units' set when arg 'units' = 'auto' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "log", units = "auto") at test_idle_time.R:8:3 2. ├─edeaR::idle_time(., level = "log", units = "auto") 3. └─edeaR:::idle_time.eventlog(., level = "log", units = "auto") 4. └─edeaR (local) FUN(log = log, units = units) 5. └─edeaR:::idle_time_case(log, units) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:27:3'): test idle_time on eventlog with arg 'level' = 'log' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "log", units = "mins") at test_idle_time.R:27:3 2. ├─edeaR::idle_time(., level = "log", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "log", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. └─edeaR:::idle_time_case(log, units) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:47:3'): test idle_time on eventlog with arg 'level' = 'trace' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "trace", units = "mins") at test_idle_time.R:47:3 2. ├─edeaR::idle_time(., level = "trace", units = "mins") 3. ├─edeaR:::idle_time.eventlog(., level = "trace", units = "mins") 4. │ └─edeaR (local) FUN(log = log, units = units) 5. │ └─log %>% idle_time_case(units = units) 6. └─edeaR:::idle_time_case(., units = units) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:68:3'): test idle_time on eventlog with arg 'level' = 'case' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "case", units = "mins") at test_idle_time.R:68:3 2. ├─edeaR::idle_time(., level = "case", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "case", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:89:3'): test idle_time on eventlog with arg 'level' = 'resource' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "RID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "resource", units = "mins") at test_idle_time.R:89:3 2. ├─edeaR::idle_time(., level = "resource", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "resource", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:113:3'): test idle_time attr 'units' set when arg 'units' = 'auto' on grouped_eventlog ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., data = map(data, fun, ...))`: i In argument: `data = map(data, fun, ...)`. Caused by error in `map()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT ── Error ('test_idle_time.R:135:3'): test idle_time on activitylog for attr 'units' set when arg 'units' = 'auto' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients_act %>% idle_time(level = "log", units = "auto") at test_idle_time.R:135:3 2. ├─edeaR::idle_time(., level = "log", units = "auto") 3. └─edeaR:::idle_time.activitylog(., level = "log", units = "auto") 4. └─edeaR:::idle_time.eventlog(...) 5. └─edeaR (local) FUN(log = log, units = units) 6. └─edeaR:::idle_time_case(log, units) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:158:3'): test idle_time on grouped_activitylog for attr 'units' set when arg 'units' = 'auto' ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., data = map(data, fun, ...))`: i In argument: `data = map(data, fun, ...)`. Caused by error in `map()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT [ FAIL 8 | WARN 0 | SKIP 0 | PASS 106 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘filters.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘filters.Rmd’ --- re-building ‘metrics.Rmd’ using rmarkdown Quitting from metrics.Rmd:33-36 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT --- Backtrace: ▆ 1. ├─patients %>% idle_time("resource", units = "days") 2. ├─edeaR::idle_time(., "resource", units = "days") 3. └─edeaR:::idle_time.eventlog(., "resource", units = "days") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'metrics.Rmd' failed with diagnostics: attempt access index 8/8 in VECTOR_ELT --- failed re-building ‘metrics.Rmd’ --- re-building ‘queue.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘queue.Rmd’ --- re-building ‘work_schedules.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘work_schedules.Rmd’ SUMMARY: processing the following file failed: ‘metrics.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/10s] 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(edeaR) Attaching package: 'edeaR' The following object is masked from 'package:base': setdiff > > test_check("edeaR") Saving _problems/test_idle_time-9.R Saving _problems/test_idle_time-28.R Saving _problems/test_idle_time-48.R Saving _problems/test_idle_time-69.R Saving _problems/test_idle_time-90.R Saving _problems/test_idle_time-114.R Saving _problems/test_idle_time-136.R Saving _problems/test_idle_time-159.R [ FAIL 8 | WARN 0 | SKIP 0 | PASS 106 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_idle_time.R:8:3'): test idle_time attr 'units' set when arg 'units' = 'auto' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "log", units = "auto") at test_idle_time.R:8:3 2. ├─edeaR::idle_time(., level = "log", units = "auto") 3. └─edeaR:::idle_time.eventlog(., level = "log", units = "auto") 4. └─edeaR (local) FUN(log = log, units = units) 5. └─edeaR:::idle_time_case(log, units) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:27:3'): test idle_time on eventlog with arg 'level' = 'log' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "log", units = "mins") at test_idle_time.R:27:3 2. ├─edeaR::idle_time(., level = "log", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "log", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. └─edeaR:::idle_time_case(log, units) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:47:3'): test idle_time on eventlog with arg 'level' = 'trace' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "trace", units = "mins") at test_idle_time.R:47:3 2. ├─edeaR::idle_time(., level = "trace", units = "mins") 3. ├─edeaR:::idle_time.eventlog(., level = "trace", units = "mins") 4. │ └─edeaR (local) FUN(log = log, units = units) 5. │ └─log %>% idle_time_case(units = units) 6. └─edeaR:::idle_time_case(., units = units) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:68:3'): test idle_time on eventlog with arg 'level' = 'case' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "case", units = "mins") at test_idle_time.R:68:3 2. ├─edeaR::idle_time(., level = "case", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "case", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:89:3'): test idle_time on eventlog with arg 'level' = 'resource' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "RID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "resource", units = "mins") at test_idle_time.R:89:3 2. ├─edeaR::idle_time(., level = "resource", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "resource", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:113:3'): test idle_time attr 'units' set when arg 'units' = 'auto' on grouped_eventlog ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., data = map(data, fun, ...))`: i In argument: `data = map(data, fun, ...)`. Caused by error in `map()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT ── Error ('test_idle_time.R:135:3'): test idle_time on activitylog for attr 'units' set when arg 'units' = 'auto' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients_act %>% idle_time(level = "log", units = "auto") at test_idle_time.R:135:3 2. ├─edeaR::idle_time(., level = "log", units = "auto") 3. └─edeaR:::idle_time.activitylog(., level = "log", units = "auto") 4. └─edeaR:::idle_time.eventlog(...) 5. └─edeaR (local) FUN(log = log, units = units) 6. └─edeaR:::idle_time_case(log, units) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:158:3'): test idle_time on grouped_activitylog for attr 'units' set when arg 'units' = 'auto' ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., data = map(data, fun, ...))`: i In argument: `data = map(data, fun, ...)`. Caused by error in `map()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT [ FAIL 8 | WARN 0 | SKIP 0 | PASS 106 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [21s/25s] 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(edeaR) Attaching package: 'edeaR' The following object is masked from 'package:base': setdiff > > test_check("edeaR") Saving _problems/test_idle_time-9.R Saving _problems/test_idle_time-28.R Saving _problems/test_idle_time-48.R Saving _problems/test_idle_time-69.R Saving _problems/test_idle_time-90.R Saving _problems/test_idle_time-114.R Saving _problems/test_idle_time-136.R Saving _problems/test_idle_time-159.R [ FAIL 8 | WARN 0 | SKIP 0 | PASS 106 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_idle_time.R:8:3'): test idle_time attr 'units' set when arg 'units' = 'auto' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "log", units = "auto") at test_idle_time.R:8:3 2. ├─edeaR::idle_time(., level = "log", units = "auto") 3. └─edeaR:::idle_time.eventlog(., level = "log", units = "auto") 4. └─edeaR (local) FUN(log = log, units = units) 5. └─edeaR:::idle_time_case(log, units) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:27:3'): test idle_time on eventlog with arg 'level' = 'log' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "log", units = "mins") at test_idle_time.R:27:3 2. ├─edeaR::idle_time(., level = "log", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "log", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. └─edeaR:::idle_time_case(log, units) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:47:3'): test idle_time on eventlog with arg 'level' = 'trace' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "trace", units = "mins") at test_idle_time.R:47:3 2. ├─edeaR::idle_time(., level = "trace", units = "mins") 3. ├─edeaR:::idle_time.eventlog(., level = "trace", units = "mins") 4. │ └─edeaR (local) FUN(log = log, units = units) 5. │ └─log %>% idle_time_case(units = units) 6. └─edeaR:::idle_time_case(., units = units) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:68:3'): test idle_time on eventlog with arg 'level' = 'case' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "case", units = "mins") at test_idle_time.R:68:3 2. ├─edeaR::idle_time(., level = "case", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "case", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:89:3'): test idle_time on eventlog with arg 'level' = 'resource' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "RID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "resource", units = "mins") at test_idle_time.R:89:3 2. ├─edeaR::idle_time(., level = "resource", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "resource", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:113:3'): test idle_time attr 'units' set when arg 'units' = 'auto' on grouped_eventlog ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., data = map(data, fun, ...))`: i In argument: `data = map(data, fun, ...)`. Caused by error in `map()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT ── Error ('test_idle_time.R:135:3'): test idle_time on activitylog for attr 'units' set when arg 'units' = 'auto' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients_act %>% idle_time(level = "log", units = "auto") at test_idle_time.R:135:3 2. ├─edeaR::idle_time(., level = "log", units = "auto") 3. └─edeaR:::idle_time.activitylog(., level = "log", units = "auto") 4. └─edeaR:::idle_time.eventlog(...) 5. └─edeaR (local) FUN(log = log, units = units) 6. └─edeaR:::idle_time_case(log, units) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:158:3'): test idle_time on grouped_activitylog for attr 'units' set when arg 'units' = 'auto' ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., data = map(data, fun, ...))`: i In argument: `data = map(data, fun, ...)`. Caused by error in `map()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT [ FAIL 8 | WARN 0 | SKIP 0 | PASS 106 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘filters.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘filters.Rmd’ --- re-building ‘metrics.Rmd’ using rmarkdown Quitting from metrics.Rmd:33-36 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT --- Backtrace: ▆ 1. ├─patients %>% idle_time("resource", units = "days") 2. ├─edeaR::idle_time(., "resource", units = "days") 3. └─edeaR:::idle_time.eventlog(., "resource", units = "days") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'metrics.Rmd' failed with diagnostics: attempt access index 8/8 in VECTOR_ELT --- failed re-building ‘metrics.Rmd’ --- re-building ‘queue.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘queue.Rmd’ --- re-building ‘work_schedules.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘work_schedules.Rmd’ SUMMARY: processing the following file failed: ‘metrics.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/41s] 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(edeaR) Attaching package: 'edeaR' The following object is masked from 'package:base': setdiff > > test_check("edeaR") Saving _problems/test_idle_time-9.R Saving _problems/test_idle_time-28.R Saving _problems/test_idle_time-48.R Saving _problems/test_idle_time-69.R Saving _problems/test_idle_time-90.R Saving _problems/test_idle_time-114.R Saving _problems/test_idle_time-136.R Saving _problems/test_idle_time-159.R [ FAIL 8 | WARN 0 | SKIP 0 | PASS 106 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_idle_time.R:8:3'): test idle_time attr 'units' set when arg 'units' = 'auto' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "log", units = "auto") at test_idle_time.R:8:3 2. ├─edeaR::idle_time(., level = "log", units = "auto") 3. └─edeaR:::idle_time.eventlog(., level = "log", units = "auto") 4. └─edeaR (local) FUN(log = log, units = units) 5. └─edeaR:::idle_time_case(log, units) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:27:3'): test idle_time on eventlog with arg 'level' = 'log' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "log", units = "mins") at test_idle_time.R:27:3 2. ├─edeaR::idle_time(., level = "log", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "log", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. └─edeaR:::idle_time_case(log, units) 6. ├─...[] 7. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:47:3'): test idle_time on eventlog with arg 'level' = 'trace' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "trace", units = "mins") at test_idle_time.R:47:3 2. ├─edeaR::idle_time(., level = "trace", units = "mins") 3. ├─edeaR:::idle_time.eventlog(., level = "trace", units = "mins") 4. │ └─edeaR (local) FUN(log = log, units = units) 5. │ └─log %>% idle_time_case(units = units) 6. └─edeaR:::idle_time_case(., units = units) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:68:3'): test idle_time on eventlog with arg 'level' = 'case' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "case", units = "mins") at test_idle_time.R:68:3 2. ├─edeaR::idle_time(., level = "case", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "case", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:89:3'): test idle_time on eventlog with arg 'level' = 'resource' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "RID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients %>% idle_time(level = "resource", units = "mins") at test_idle_time.R:89:3 2. ├─edeaR::idle_time(., level = "resource", units = "mins") 3. └─edeaR:::idle_time.eventlog(., level = "resource", units = "mins") 4. └─edeaR (local) FUN(log = log, units = units) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:113:3'): test idle_time attr 'units' set when arg 'units' = 'auto' on grouped_eventlog ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., data = map(data, fun, ...))`: i In argument: `data = map(data, fun, ...)`. Caused by error in `map()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT ── Error ('test_idle_time.R:135:3'): test idle_time on activitylog for attr 'units' set when arg 'units' = 'auto' ── Error in ``[.data.table`(dt, , `:=`(active = cumsum(activate), next_TS = shift(TS, type = "lead")), by = "CID")`: attempt access index 8/8 in VECTOR_ELT Backtrace: ▆ 1. ├─patients_act %>% idle_time(level = "log", units = "auto") at test_idle_time.R:135:3 2. ├─edeaR::idle_time(., level = "log", units = "auto") 3. └─edeaR:::idle_time.activitylog(., level = "log", units = "auto") 4. └─edeaR:::idle_time.eventlog(...) 5. └─edeaR (local) FUN(log = log, units = units) 6. └─edeaR:::idle_time_case(log, units) 7. ├─...[] 8. └─data.table:::`[.data.table`(...) ── Error ('test_idle_time.R:158:3'): test idle_time on grouped_activitylog for attr 'units' set when arg 'units' = 'auto' ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., data = map(data, fun, ...))`: i In argument: `data = map(data, fun, ...)`. Caused by error in `map()`: i In index: 1. Caused by error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT [ FAIL 8 | WARN 0 | SKIP 0 | PASS 106 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc