* using log directory ‘/home/hornik/tmp/CRAN_special_valgrind/FLSSS.Rcheck’ * using R Under development (unstable) (2025-02-03 r87683) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (Debian 14.2.0-12) 14.2.0 GNU Fortran (Debian 14.2.0-12) 14.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * using option ‘--use-valgrind’ * checking for file ‘FLSSS/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘FLSSS’ version ‘9.2.1’ * 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 serialization versions ... OK * checking whether package ‘FLSSS’ can be installed ... [173s/175s] OK * used C++ compiler: ‘g++-14 (Debian 14.2.0-12) 14.2.0’ * checking package directory ... OK * checking for future file timestamps ... 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/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/0s] 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 ... [6s/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 line endings in shell scripts ... 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 ... OK * checking examples ... [0m/30m] ERROR Running examples in ‘FLSSS-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: arbFLSSS > ### Title: Multidimensional exact subset sum in arbitrary precision and > ### magnitude > ### Aliases: arbFLSSS > > ### ** Examples > > set.seed(1) > N = 200L # Superset size. > len = 20L # Subset size. > V = sapply(1:N, function(i) # Generate a set where every "number" has at most + # 100 digits. + { + a = 0:9 + left = sample(a, size = sample(50, 1), replace = TRUE) + right = sample(a, size = sample(50, 1), replace = TRUE) + x = paste0(paste0(left, collapse = ""), ".", paste0(right, collapse = "")) + if (runif(1) < 0.5) x = paste0("-", x) # Randomly add a negative sign. + x + }) > str(V) chr [1:200] "-6016.1204495968448844198032599533986587867596295" ... > > > sol = sample(N, len) # Make a solution. > target = FLSSS::addNumStrings(V[sol]) # An unexposed helper function. > > > system.time({ + rst = FLSSS::arbFLSSS( + len, V = as.matrix(V), target, solutionNeed = 1, maxCore = 2, + tlimit = 10, ksumK = 0, verbose = TRUE) + }) Transform string input to bit streams and create flsss objects to mine.. ==2326587== ==2326587== Process terminating with default action of signal 15 (SIGTERM) ==2326587== at 0x1FD7F6E8: CharlieThreadPool::parFor(unsigned long, unsigned long, std::function, unsigned long, std::function, std::function) (/home/hornik/tmp/CRAN_special_valgrind/FLSSS.Rcheck/00_pkg_src/FLSSS/src/arbitraryDimFLSSS/charlieThreadPool.hpp:136) ==2326587== by 0x1FDA7C02: stringMatTo64bitIntMat(Rcpp::Matrix<16, Rcpp::PreserveStorage>&, Rcpp::Vector<16, Rcpp::PreserveStorage>&, int, CharlieThreadPool&, std::vector >&, std::vector >&, std::vector >&, std::vector >&, std::vector >&, int&, bool) (/home/hornik/tmp/CRAN_special_valgrind/FLSSS.Rcheck/00_pkg_src/FLSSS/src/arbitraryDimFLSSS/intString2intArray.hpp:394) ==2326587== by 0x1FDAEE5D: bool makeMflsssObjs(int, Rcpp::Matrix<16, Rcpp::PreserveStorage>, Rcpp::Vector<16, Rcpp::PreserveStorage>, int, int, CharlieThreadPool&, std::vector, std::allocator > >&, std::vector >, std::allocator > > >&, Shared&, double, std::vector >&, TriM&, KsumLookUpTable&, bool) (/home/hornik/tmp/CRAN_special_valgrind/FLSSS.Rcheck/00_pkg_src/FLSSS/src/arbitraryDimFLSSS/mflsssDecomp.hpp:43) ==2326587== by 0x1FDAFEF3: Rcpp::Vector<19, Rcpp::PreserveStorage> mflsssArb(int, Rcpp::Matrix<16, Rcpp::PreserveStorage>, Rcpp::Vector<16, Rcpp::PreserveStorage>, int, CharlieThreadPool&, int, double, Rcpp::Vector<19, Rcpp::PreserveStorage>, int, int, bool) (/home/hornik/tmp/CRAN_special_valgrind/FLSSS.Rcheck/00_pkg_src/FLSSS/src/arbitraryDimFLSSS/mflsssDecomp.hpp:253) ==2326587== by 0x1FD7D8FF: arbFLSSS(int, Rcpp::Matrix<16, Rcpp::PreserveStorage>, Rcpp::Vector<16, Rcpp::PreserveStorage>, SEXPREC*, int, int, double, int, int, int, bool) (/home/hornik/tmp/CRAN_special_valgrind/FLSSS.Rcheck/00_pkg_src/FLSSS/src/mflsssArb.cpp:35) ==2326587== by 0x1FD196CD: _FLSSS_arbFLSSS (/home/hornik/tmp/CRAN_special_valgrind/FLSSS.Rcheck/00_pkg_src/FLSSS/src/RcppExports.cpp:329) ==2326587== by 0x495D1A3: R_doDotCall (/home/hornik/src/R/src/main/dotcode.c:801) ==2326587== by 0x49A1BDC: bcEval_loop (/home/hornik/src/R/src/main/eval.c:8672) ==2326587== by 0x49A9B35: bcEval (/home/hornik/src/R/src/main/eval.c:7505) ==2326587== by 0x49A9B35: bcEval (/home/hornik/src/R/src/main/eval.c:7490) ==2326587== by 0x49A9EAA: Rf_eval (/home/hornik/src/R/src/main/eval.c:1167) ==2326587== by 0x49ABFAD: R_execClosure (/home/hornik/src/R/src/main/eval.c:2393) ==2326587== by 0x49ACD0C: applyClosure_core (/home/hornik/src/R/src/main/eval.c:2306) ==2326587== ==2326587== HEAP SUMMARY: ==2326587== in use at exit: 59,936,385 bytes in 12,864 blocks ==2326587== total heap usage: 35,849,462 allocs, 35,836,598 frees, 323,790,177 bytes allocated ==2326587== Examples with CPU (user + system) or elapsed time > 5s user system elapsed FLSSS 279.129 9.874 289.066 * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR