- 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 ‘dat/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘dat’ version ‘0.5.0’
- 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 ‘dat’ 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking whether startup messages can be suppressed ... [0s/1s] 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/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 ... [1s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/7s] ERROR
Running ‘testthat.R’ [6s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("dat")
To use dplyr as backend set 'options(dat.use.dplyr = TRUE)'.
Attaching package: 'dat'
The following object is masked from 'package:base':
replace
>
> if (requireNamespace("testthat", quietly = TRUE)) {
+ testthat::test_check("dat")
+ }
Saving _problems/test-mutar-data-table-107.R
[ FAIL 1 | WARN 67 | SKIP 1 | PASS 121 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-lintr.R:5:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-mutar-data-table.R:107:5'): mutar with by ──────────────────────
Error in ``[.data.table`(.__x__, , `:=`(.__x__ = x + 1), keyby = .(group))`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. ├─dat:::WITHOUT_DPLYR(...) at test-mutar-data-table.R:81:3
2. └─dat::mutar(dat, x ~ x + 1, by = "group") at test-mutar-data-table.R:107:5
3. ├─dat:::handleCols(...)
4. └─dat:::handleCols(...)
5. └─dat:::dataTableMutateBy(x, args, by)
6. └─dat:::mutateDataTable(...)
7. └─dat:::callDataTable(x, args, fun, by)
8. └─base::eval(expr, envir = env)
9. └─base::eval(expr, envir = env)
10. ├─.__x__[, `:=`(.__x__ = x + 1), keyby = .(group)]
11. └─data.table:::`[.data.table`(.__x__, , `:=`(.__x__ = x + 1), keyby = .(group))
[ FAIL 1 | WARN 67 | SKIP 1 | PASS 121 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [6s/9s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Introduction.Rmd’ using rmarkdown
Quitting from Introduction.Rmd:98-100 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 19/19 in VECTOR_ELT
---
Backtrace:
▆
1. └─dat::mutar(flights, n ~ .N, by = "month")
2. ├─dat:::handleCols(...)
3. └─dat:::handleCols(...)
4. └─dat:::dataTableMutateBy(x, args, by)
5. └─dat:::mutateDataTable(...)
6. └─dat:::callDataTable(x, args, fun, by)
7. └─base::eval(expr, envir = env)
8. └─base::eval(expr, envir = env)
9. ├─.__x__[, `:=`(.__n__ = .N), keyby = .(month)]
10. └─data.table:::`[.data.table`(.__x__, , `:=`(.__n__ = .N), keyby = .(month))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Introduction.Rmd' failed with diagnostics:
attempt access index 19/19 in VECTOR_ELT
--- failed re-building ‘Introduction.Rmd’
--- re-building ‘performance.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘performance.Rmd’
SUMMARY: processing the following file failed:
‘Introduction.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs