- using R Under development (unstable) (2025-12-28 r89254)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘collapse/DESCRIPTION’ ... OK
- this is package ‘collapse’ version ‘2.1.5’
- package encoding: UTF-8
- 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 whether package ‘collapse’ can be installed ... [396s/146s] OK
See the install log for details.
- used C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
- used C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
- checking package directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... 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 ... [106s/107s] OK
- checking Rd files ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... NOTE
File ‘collapse/libs/collapse.so’:
Found non-API calls to R: ‘ATTRIB’, ‘SET_ATTRIB’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [40s/41s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [348s/351s] ERROR
Running ‘testthat.R’ [347s/351s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # rm(list = ls())
> # Sys.setenv(R_TESTS = "")
> library(testthat)
> options(collapse_export_F = TRUE)
> # library(collapse)
>
> test_check("collapse")
Loading required package: collapse
collapse 2.1.5, see ?`collapse-package` or ?`collapse-documentation`
Attaching package: 'collapse'
The following object is masked from 'package:stats':
D
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 17726 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• Sys.getenv("OMP") == "TRUE" is not TRUE (1):
'test-miscellaneous-issues.R:434:3'
• empty test (1):
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-data.table.R:216:3'): creating columns and printing works after passing a data.table through collapse functions ──
Error in ``[.data.table`(dt, , `:=`(new, 1))`: Internal error in assign: selfrefnames is ok but maxLength(names) [12] != maxLength(dt) [1036]. Please report to the data.table issues tracker.
Backtrace:
▆
1. ├─testthat::expect_silent(dt[, `:=`(new, 1)]) at test-data.table.R:216:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─dt[, `:=`(new, 1)]
10. └─data.table:::`[.data.table`(dt, , `:=`(new, 1))
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 17726 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [33s/33s] OK
- checking PDF version of manual ... [23s/23s] OK
- checking HTML version of manual ... [33s/33s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE