- 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 ‘sanityTracker/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘sanityTracker’ version ‘0.1.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [0s/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 ‘sanityTracker’ 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [4s/6s] 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 LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] ERROR
Running examples in ‘sanityTracker-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: sc_cols_unique
> ### Title: Checks that the combination of the specified columns is unique
> ### Aliases: sc_cols_unique
>
> ### ** Examples
>
> dummy_call <- function(x) {
+ sc_cols_unique(
+ object = x,
+ cols = c("Species", "Sepal.Length",
+ "Sepal.Width", "Petal.Length"))
+ }
> dummy_call(x = iris)
Error in `[.data.table`(dt, , `:=`(.n_col_cmb, .N), by = cols) :
attempt access index 5/5 in VECTOR_ELT
Calls: dummy_call -> sc_cols_unique -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/2s] ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(sanityTracker)
>
> test_check("sanityTracker")
Saving _problems/test_convenience-138.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_convenience.R:136:3'): (code run outside of `test_that()`) ─────
Error in ``[.data.table`(dt, , `:=`(.n_col_cmb, .N), by = cols)`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. └─sanityTracker (local) dummy_call(x = d) at test_convenience.R:141:1
2. └─sanityTracker::sc_cols_unique(...) at test_convenience.R:136:3
3. ├─dt[, `:=`(.n_col_cmb, .N), by = cols]
4. └─data.table:::`[.data.table`(dt, , `:=`(.n_col_cmb, .N), by = cols)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s/3s] OK
- checking PDF version of manual ... [4s/7s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs