- using R Under development (unstable) (2025-12-19 r89206)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘edeaR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘edeaR’ version ‘1.0.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘edeaR’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [20s/25s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10s/10s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [27s/33s] 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
- checking PDF version of manual ... [7s/10s] OK
- checking HTML version of manual ... [6s/8s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs