- 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 ‘cusumcharter/DESCRIPTION’ ... OK
- this is package ‘cusumcharter’ version ‘0.1.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] 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 ‘cusumcharter’ 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 ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/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 ... [10s/14s] OK
- checking Rd files ... [0s/0s] 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 ... [5s/6s] ERROR
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cusumcharter)
>
> test_check("cusumcharter")
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
no target value supplied, so using the median of x
no target value supplied, so using the median of x
no target value supplied, so using the median of x
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
Saving _problems/test-cusum_control_plot-88.R
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
Saving _problems/test-cusum_control_plot-126.R
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
no target value supplied, so using the mean of x
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 38 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cusum_control_plot.R:86:3'): date facets work ──────────────────
Error in ``[.data.table`(testres, , `:=`(datecol, c("2021-01-01", "2021-01-02", "2021-01-03", "2021-01-04", "2021-01-05", "2021-01-06", "2021-01-07", "2021-01-08", "2021-01-09")), by = .id)`: attempt access index 14/14 in VECTOR_ELT
Backtrace:
▆
1. ├─...[] at test-cusum_control_plot.R:86:3
2. └─data.table:::`[.data.table`(...) at test-cusum_control_plot.R:86:3
── Error ('test-cusum_control_plot.R:126:3'): datetime facets work ─────────────
Error in ``[.data.table`(testres, , `:=`(datetimecol, c("2021-09-03 22:19:46", "2021-09-03 22:20:46", "2021-09-03 22:21:46", "2021-09-03 22:22:46", "2021-09-03 22:23:46", "2021-09-03 22:24:46", "2021-09-03 22:25:46", "2021-09-03 22:26:46", "2021-09-03 22:27:46")), by = .id)`: attempt access index 14/14 in VECTOR_ELT
Backtrace:
▆
1. ├─...[] at test-cusum_control_plot.R:126:3
2. └─data.table:::`[.data.table`(...) at test-cusum_control_plot.R:126:3
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 38 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [13s/17s] OK
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR