Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘FLSSS-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: arbFLSSSobjRun > ### Title: Run an 'arbFLSSS' instance > ### Aliases: arbFLSSSobjRun > > ### ** Examples > > set.seed(42) > d = 5L # Set dimension. > N = 30L # Set size. > len = 10L # Subset size. > roundN = 2L # For rounding the numeric values before conversion to strings. > > > V = matrix(round(runif(N * d, -1e5, 1e5), roundN), nrow = N) # Make superset. > sol = sample(N, len) # Make a solution. > target = round(colSums(V[sol, ]), roundN) # Target subset sum. > > > optionSave = options() > options(scipen = 999) # Ensure numeric => string conversion does not > # produce strings like 2e-3. > Vstr = matrix(as.character(V), nrow = N) # String version of V. > targetStr = as.character(target) > > > system.time({ + theDecomposed = FLSSS::decomposeArbFLSSS( + len = len, V = Vstr, target = targetStr, approxNinstance = 1000, + maxCore = 2, ksumTable = NULL, ksumK = 4, verbose = TRUE) + }) ==3922206== ==3922206== Process terminating with default action of signal 15 (SIGTERM) ==3922206== at 0x1FD8EB40: CharlieThreadPool::live(int) (/home/hornik/tmp/CRAN_special_valgrind/FLSSS.Rcheck/00_pkg_src/FLSSS/src/arbitraryDimFLSSS/charlieThreadPool.hpp:70) ==3922206== by 0x7733E63: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.33) ==3922206== by 0x4D56082: start_thread (nptl/./nptl/pthread_create.c:447) ==3922206== by 0x4DD45EF: clone (misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:100) ==3922206== ==3922206== HEAP SUMMARY: ==3922206== in use at exit: 59,776,206 bytes in 12,819 blocks ==3922206== total heap usage: 36,134,150 allocs, 36,121,331 frees, 323,991,752 bytes allocated ==3922206== Examples with CPU (user + system) or elapsed time > 5s user system elapsed FLSSS 279.217 9.758 289.022 Post-processing issues found: File: FLSSS-Ex.Rout ==3922206== Memcheck, a memory error detector ==3922206== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. ==3922206== Using Valgrind-3.24.0 and LibVEX; rerun with -h for copyright info ==3922206== Command: /home/hornik/tmp/R-d-gcc-valg/bin/exec/R --vanilla ==3922206== ==3922206== ==3922206== Process terminating with default action of signal 15 (SIGTERM) ==3922206== at 0x1FD8EB40: CharlieThreadPool::live(int) (/home/hornik/tmp/CRAN_special_valgrind/FLSSS.Rcheck/00_pkg_src/FLSSS/src/arbitraryDimFLSSS/charlieThreadPool.hpp:70) ==3922206== by 0x7733E63: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.33) ==3922206== by 0x4D56082: start_thread (nptl/./nptl/pthread_create.c:447) ==3922206== by 0x4DD45EF: clone (misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:100) ==3922206== ==3922206== HEAP SUMMARY: ==3922206== in use at exit: 59,776,206 bytes in 12,819 blocks ==3922206== total heap usage: 36,134,150 allocs, 36,121,331 frees, 323,991,752 bytes allocated ==3922206== ==3922206== LEAK SUMMARY: ==3922206== definitely lost: 0 bytes in 0 blocks ==3922206== indirectly lost: 0 bytes in 0 blocks ==3922206== possibly lost: 16,726 bytes in 49 blocks ==3922206== still reachable: 59,759,480 bytes in 12,770 blocks ==3922206== of which reachable via heuristic: ==3922206== newarray : 36,960 bytes in 10 blocks ==3922206== suppressed: 0 bytes in 0 blocks ==3922206== Rerun with --leak-check=full to see details of leaked memory ==3922206== ==3922206== For lists of detected and suppressed errors, rerun with: -s ==3922206== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)