- using R Under development (unstable) (2025-12-18 r89199)
- 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 ‘atime/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘atime’ version ‘2025.9.30’
- checking CRAN incoming feasibility ... [0s/0s] 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 ‘atime’ 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/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] 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 ... [5s/7s] 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 ... [8s/11s] ERROR
Running examples in ‘atime-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: references_best
> ### Title: Best references
> ### Aliases: references_best
>
> ### ** Examples
>
>
> ## Polynomial and exponential time string functions.
> atime_result_string <- atime::atime(
+ seconds.limit=0.001,
+ N=unique(as.integer(10^seq(0,4,l=100))),
+ setup={
+ subject <- paste(rep("a", N), collapse="")
+ pattern <- paste(rep(c("a?", "a"), each=N), collapse="")
+ linear_size_replacement <- paste(rep("REPLACEMENT", N), collapse="")
+ },
+ PCRE.match=regexpr(pattern, subject, perl=TRUE),
+ TRE.match=regexpr(pattern, subject, perl=FALSE),
+ constant.replacement=gsub("a","constant size replacement",subject),
+ linear.replacement=gsub("a",linear_size_replacement,subject))
> (refs_best_string <- atime::references_best(atime_result_string))
Error in `[.data.table`(all.refs, , `:=`(rank, rank(-N)), by = c(L$by.vec, :
attempt access index 6/6 in VECTOR_ELT
Calls: <Anonymous> -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/6s] ERROR
Running ‘testthat.R’ [4s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> data.table::setDTthreads(1) # for CRAN.
> if(require(testthat))test_check("atime")
Loading required package: testthat
Loading required package: atime
Saving _problems/test-CRAN-75.R
Saving _problems/test-CRAN-242.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 17 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CRAN.R:75:3'): more units defined in 1 row result ──────────────
Error in ``[.data.table`(all.refs, , `:=`(rank, rank(-N)), by = c(L$by.vec, "fun.name"))`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. └─atime::references_best(atime.list) at test-CRAN.R:75:3
2. ├─all.refs[, `:=`(rank, rank(-N)), by = c(L$by.vec, "fun.name")]
3. └─data.table:::`[.data.table`(...)
── Error ('test-CRAN.R:242:1'): (code run outside of `test_that()`) ────────────
Error in ``[.data.table`(all.refs, , `:=`(rank, rank(-N)), by = c(L$by.vec, "fun.name"))`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. └─atime::references_best(my.atime) at test-CRAN.R:242:1
2. ├─all.refs[, `:=`(rank, rank(-N)), by = c(L$by.vec, "fun.name")]
3. └─data.table:::`[.data.table`(...)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 17 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [29s/34s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Custom_Plots.Rmd’ using vignette
Quitting from Custom_Plots.Rmd#14-73 [chunk-1]
Error: processing vignette 'Custom_Plots.Rmd' failed with diagnostics:
attempt access index 6/6 in VECTOR_ELT
--- failed re-building ‘Custom_Plots.Rmd’
--- re-building ‘Custom_References.Rmd’ using vignette
Quitting from Custom_References.Rmd#70-73 [chunk-2]
Error: processing vignette 'Custom_References.Rmd' failed with diagnostics:
attempt access index 6/6 in VECTOR_ELT
--- failed re-building ‘Custom_References.Rmd’
--- re-building ‘Custom_Units.Rmd’ using vignette
Quitting from Custom_Units.Rmd#53-56 [chunk-3]
Error: processing vignette 'Custom_Units.Rmd' failed with diagnostics:
attempt access index 6/6 in VECTOR_ELT
--- failed re-building ‘Custom_Units.Rmd’
--- re-building ‘cum_median.Rmd’ using vignette
Quitting from cum_median.Rmd#39-45 [chunk-2]
Error: processing vignette 'cum_median.Rmd' failed with diagnostics:
attempt access index 6/6 in VECTOR_ELT
--- failed re-building ‘cum_median.Rmd’
--- re-building ‘regex.Rmd’ using vignette
Quitting from regex.Rmd#31-41 [chunk-3]
Error: processing vignette 'regex.Rmd' failed with diagnostics:
attempt access index 6/6 in VECTOR_ELT
--- failed re-building ‘regex.Rmd’
--- re-building ‘sparse.Rmd’ using vignette
Quitting from sparse.Rmd#133-136 [chunk-5]
Error: processing vignette 'sparse.Rmd' failed with diagnostics:
attempt access index 6/6 in VECTOR_ELT
--- failed re-building ‘sparse.Rmd’
SUMMARY: processing the following files failed:
‘Custom_Plots.Rmd’ ‘Custom_References.Rmd’ ‘Custom_Units.Rmd’
‘cum_median.Rmd’ ‘regex.Rmd’ ‘sparse.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 3 ERRORs