- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.7 (1)
Debian flang version 21.1.7 (1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘ggetho/DESCRIPTION’ ... OK
- this is package ‘ggetho’ version ‘0.3.7’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] 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 serialization versions ... OK
- checking whether package ‘ggetho’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/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/2s] 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 ... [11s/15s] OK
- checking Rd files ... [0s/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 examples ... [30s/28s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
stat_tile_etho 8.574 0.269 5.936
id_labeller 5.958 0.068 7.261
time_scales 5.666 0.226 4.534
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [79s/65s] ERROR
Running ‘testthat.R’ [78s/65s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ggetho)
Loading required package: ggplot2
Loading required package: behavr
Loading required package: data.table
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
>
> test_check("ggetho")
Saving _problems/test-stat_tile-7.R
[ FAIL 1 | WARN 292 | SKIP 1 | PASS 41 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-scales.R:47:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-stat_tile.R:7:3'): stat_bar_tile_works ─────────────────────────
Error in ``[.data.table`(out, , `:=`(activity, abs(c(0, diff(sign(0.5 - x))))), by = "id")`: attempt access index 5/5 in VECTOR_ELT
Backtrace:
▆
1. └─behavr::toy_dam_data(metadata, duration = days(4)) at test-stat_tile.R:7:3
2. ├─out[, `:=`(activity, abs(c(0, diff(sign(0.5 - x))))), by = "id"]
3. ├─behavr:::`[.behavr`(...)
4. ├─base::NextMethod()
5. └─data.table:::`[.data.table`(...)
[ FAIL 1 | WARN 292 | SKIP 1 | PASS 41 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [2s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR