==2566871== Memcheck, a memory error detector ==2566871== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. ==2566871== Using Valgrind-3.27.1 and LibVEX; rerun with -h for copyright info ==2566871== Command: /data/localhost/ripley/R/R-devel-vg/bin/exec/R -f testthat.R --restore --save --no-readline --vanilla ==2566871== R Under development (unstable) (2026-07-27 r90310) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(coconots) > > test_check("coconots") ==2566871== Invalid read of size 8 ==2566871== at 0x192A2485: inner_product (/usr/include/c++/16/bits/stl_numeric.h:198) ==2566871== by 0x192A2485: innerProduct(Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>) (/data/localhost/ripley/R/packages/tests-vg/coconots/src/cfunctions.cpp:36) ==2566871== by 0x192A5C39: likelihoodGP2cov(double, double, double, double, double, Rcpp::Vector<14, Rcpp::PreserveStorage>, int, int, int, std::vector >, Rcpp::Matrix<14, Rcpp::PreserveStorage>, std::__cxx11::basic_string, std::allocator >) (/data/localhost/ripley/R/packages/tests-vg/coconots/src/cfunctions.cpp:528) ==2566871== by 0x19298EE2: _coconots_likelihoodGP2cov (/data/localhost/ripley/R/packages/tests-vg/coconots/src/RcppExports.cpp:261) ==2566871== by 0x497013: R_doDotCall (/data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:801) ==2566871== by 0x4D4F98: bcEval_loop (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8700) ==2566871== by 0x4E4461: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533) ==2566871== by 0x4E4461: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7518) ==2566871== by 0x4E482A: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167) ==2566871== by 0x4E66C6: R_execClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398) ==2566871== by 0x4E746F: applyClosure_core (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314) ==2566871== by 0x4E4A38: Rf_applyClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333) ==2566871== by 0x4E4A38: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278) ==2566871== by 0x4E98E9: do_set (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3585) ==2566871== by 0x4E4BED: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230) ==2566871== Address 0x1c1ceb48 is 0 bytes after a block of size 7,960 alloc'd ==2566871== at 0x4840AE6: malloc (/builddir/build/BUILD/valgrind-3.27.1-build/valgrind-3.27.1/coregrind/m_replacemalloc/vg_replace_malloc.c:447) ==2566871== by 0x529A79: GetNewPage (/data/localhost/ripley/R/svn/R-devel/src/main/memory.c:998) ==2566871== by 0x52BB19: Rf_allocVector3 (/data/localhost/ripley/R/svn/R-devel/src/main/memory.c:2717) ==2566871== by 0x4C7E60: Rf_allocVector (/data/localhost/ripley/R/svn/R-devel/src/include/Rinlinedfuns.h:609) ==2566871== by 0x4C7E60: Rf_ScalarInteger (/data/localhost/ripley/R/svn/R-devel/src/include/Rinlinedfuns.h:1025) ==2566871== by 0x4C7E60: GETSTACK_PTR_TAG (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:4805) ==2566871== by 0x4DE484: bcEval_loop (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8059) ==2566871== by 0x4E4461: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7533) ==2566871== by 0x4E4461: bcEval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7518) ==2566871== by 0x4E482A: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167) ==2566871== by 0x4E66C6: R_execClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2398) ==2566871== by 0x4E746F: applyClosure_core (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2314) ==2566871== by 0x4E4A38: Rf_applyClosure (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2333) ==2566871== by 0x4E4A38: Rf_eval (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278) ==2566871== by 0x47D3B5: Rf_endcontext (/data/localhost/ripley/R/svn/R-devel/src/main/context.c:315) ==2566871== by 0x4E7C57: finish_inline_closure_call (/data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7431) ==2566871== [ FAIL 0 | WARN 29 | SKIP 13 | PASS 16 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (13): 'test-coconots.R:3:3', 'test-coconots.R:8:3', 'test-coconots.R:29:3', 'test-coconots.R:51:3', 'test-coconots.R:73:3', 'test-coconots.R:96:3', 'test-coconots.R:126:3', 'test-coconots.R:154:3', 'test-coconots.R:182:3', 'test-coconots.R:439:3', 'test-coconots.R:454:3', 'test-coconots.R:470:3', 'test-coconots.R:485:3' [ FAIL 0 | WARN 29 | SKIP 13 | PASS 16 ] > > proc.time() user system elapsed 2747.408 9.432 2791.265 ==2566871== ==2566871== HEAP SUMMARY: ==2566871== in use at exit: 198,546,181 bytes in 38,610 blocks ==2566871== total heap usage: 315,000 allocs, 276,390 frees, 588,334,970 bytes allocated ==2566871== ==2566871== LEAK SUMMARY: ==2566871== definitely lost: 0 bytes in 0 blocks ==2566871== indirectly lost: 0 bytes in 0 blocks ==2566871== possibly lost: 0 bytes in 0 blocks ==2566871== still reachable: 198,546,181 bytes in 38,610 blocks ==2566871== suppressed: 0 bytes in 0 blocks ==2566871== Reachable blocks (those to which a pointer was found) are not shown. ==2566871== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2566871== ==2566871== For lists of detected and suppressed errors, rerun with: -s ==2566871== ERROR SUMMARY: 298 errors from 1 contexts (suppressed: 0 from 0)