* using log directory 'd:/Rcompile/CRANpkg/local/4.5/collapse.Rcheck' * using R version 4.5.2 (2025-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'collapse' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 14.3.0' * used C++ compiler: 'g++.exe (GCC) 14.3.0' * checking installed package size ... INFO installed size is 6.1Mb sub-directories of 1Mb or more: R 1.1Mb libs 2.9Mb * 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [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 ... [39s] OK * checking Rd files ... [3s] OK * checking Rd metadata ... 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 ... [1s] 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 pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [36s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [214s] ERROR Running 'testthat.R' [214s] 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 ... [10s] OK * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [20s] OK * DONE Status: 1 ERROR