R Under development (unstable) (2026-06-16 r90161) -- "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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(mvalpha) > > test_check("mvalpha") n Units: 4 n Observers: 3 n Labels: 3 n Values: 6 Max Cardinality: 3 Possible C-K pairs: 42 mvalpha_internal_functions.cpp:369:35: runtime error: -nan is outside the range of representable values of type 'long long' #0 0x7f66e738f9c1 in _ZZ13calc_mvDe_cppiRKN4Rcpp6VectorILi13ENS_15PreserveStorageEEES4_RKNS0_ILi14ES1_EEiS7_S7_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdddddS7_iENK3$_0clIZ13calc_mvDe_cppiS4_S4_S7_iS7_S7_SF_dddddS7_iE3$_1EEDaT_ /data/gannet/ripley/R/packages/tests-clang-UBSAN/mvalpha/src/mvalpha_internal_functions.cpp:369:35 #1 0x7f66e738f9c1 in calc_mvDe_cpp(int, Rcpp::Vector<13, Rcpp::PreserveStorage> const&, Rcpp::Vector<13, Rcpp::PreserveStorage> const&, Rcpp::Vector<14, Rcpp::PreserveStorage> const&, int, Rcpp::Vector<14, Rcpp::PreserveStorage> const&, Rcpp::Vector<14, Rcpp::PreserveStorage> const&, std::__cxx11::basic_string, std::allocator> const&, double, double, double, double, double, Rcpp::Vector<14, Rcpp::PreserveStorage> const&, int) /data/gannet/ripley/R/packages/tests-clang-UBSAN/mvalpha/src/mvalpha_internal_functions.cpp:406:5 #2 0x7f66e7384140 in _mvalpha_calc_mvDe_cpp /data/gannet/ripley/R/packages/tests-clang-UBSAN/mvalpha/src/RcppExports.cpp:48:34 #3 0x55b9cc3469db in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x909db) #4 0x55b9cc390e07 in bcEval_loop eval.c #5 0x55b9cc37f18b in bcEval eval.c #6 0x55b9cc37e944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #7 0x55b9cc396aa8 in R_execClosure eval.c #8 0x55b9cc395f9a in applyClosure_core eval.c #9 0x55b9cc37f866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #10 0x55b9cc37ed97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #11 0x55b9cc457d66 in R_DispatchOrEvalSP subset.c #12 0x55b9cc45be92 in do_subset3 (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1a5e92) #13 0x55b9cc37eb6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #14 0x55b9cc39b8a0 in Rf_evalListKeepMissing (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe58a0) #15 0x55b9cc2d6da8 in do_Math2 (/data/gannet/ripley/R/R-clang/bin/exec/R+0x20da8) #16 0x55b9cc37eb6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #17 0x55b9cc34366b in do_External (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8d66b) #18 0x55b9cc385bc3 in bcEval_loop eval.c #19 0x55b9cc37f18b in bcEval eval.c #20 0x55b9cc37e944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #21 0x55b9cc396aa8 in R_execClosure eval.c #22 0x55b9cc395f9a in applyClosure_core eval.c #23 0x55b9cc37f866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #24 0x55b9cc37ed97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #25 0x55b9cc39b0fa in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe50fa) #26 0x55b9cc37eb6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b6f) #27 0x55b9cc39d277 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7277) #28 0x55b9cc385bc3 in bcEval_loop eval.c #29 0x55b9cc37f18b in bcEval eval.c #30 0x55b9cc37e944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #31 0x55b9cc396aa8 in R_execClosure eval.c #32 0x55b9cc395f9a in applyClosure_core eval.c #33 0x55b9cc37f866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #34 0x55b9cc37ed97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #35 0x55b9cc39d657 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7657) #36 0x55b9cc385bc3 in bcEval_loop eval.c #37 0x55b9cc37f18b in bcEval eval.c #38 0x55b9cc37e944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #39 0x55b9cc396aa8 in R_execClosure eval.c #40 0x55b9cc395f9a in applyClosure_core eval.c #41 0x55b9cc399448 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe3448) #42 0x55b9cc2cb7eb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x157eb) #43 0x55b9cc3e1017 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12b017) #44 0x55b9cc385e25 in bcEval_loop eval.c #45 0x55b9cc37f18b in bcEval eval.c #46 0x55b9cc37e944 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8944) #47 0x55b9cc396aa8 in R_execClosure eval.c #48 0x55b9cc395f9a in applyClosure_core eval.c #49 0x55b9cc37f866 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9866) #50 0x55b9cc37ed97 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d97) #51 0x55b9cc3cbf87 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x115f87) #52 0x55b9cc3cda8e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117a8e) #53 0x55b9cc3cdafa in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117afa) #54 0x55b9cc2b7db7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1db7) #55 0x7f66f5111574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #56 0x7f66f5111627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #57 0x55b9cc2b7cd4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cd4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior mvalpha_internal_functions.cpp:369:35 |C| = 0, |K| = 0, C-K pairs to evaluate = 1 |C| = 0, |K| = 1, C-K pairs to evaluate = 3, avg. rate so far = 16,733 pairs/sec |C| = 0, |K| = 2, C-K pairs to evaluate = 3, avg. rate so far = 60,011 pairs/sec |C| = 0, |K| = 3, C-K pairs to evaluate = 1, avg. rate so far = 98,951 pairs/sec |C| = 1, |K| = 1, C-K pairs to evaluate = 9, avg. rate so far = 108,679 pairs/sec |C| = 1, |K| = 2, C-K pairs to evaluate = 9, avg. rate so far = 213,874 pairs/sec |C| = 1, |K| = 3, C-K pairs to evaluate = 3, avg. rate so far = 303,685 pairs/sec |C| = 2, |K| = 2, C-K pairs to evaluate = 9, avg. rate so far = 321,982 pairs/sec |C| = 2, |K| = 3, C-K pairs to evaluate = 3, avg. rate so far = 392,789 pairs/sec |C| = 3, |K| = 3, C-K pairs to evaluate = 1, avg. rate so far = 405,687 pairs/sec Total combinations: 42, Overall rate: 401,134 pairs/sec [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] > > proc.time() user system elapsed 1.700 0.190 2.106