--- re-building ‘mums2.Rmd’ using rmarkdown CustomProgressBar/CliProgressBar.h:88:37: runtime error: -nan is outside the range of representable values of type 'int' #0 0x7f2690a1e64e in CliProgressBar::_time_to_string[abi:cxx11](double) /data/gannet/ripley/R/packages/tests-clang-UBSAN/mums2/src/./CustomProgressBar/CliProgressBar.h:88:37 #1 0x7f2690a1d92e in CliProgressBar::_display_ticks(double) const /data/gannet/ripley/R/packages/tests-clang-UBSAN/mums2/src/./CustomProgressBar/CliProgressBar.h:74:35 #2 0x7f2690a1afcd in CliProgressBar::update(float) /data/gannet/ripley/R/packages/tests-clang-UBSAN/mums2/src/./CustomProgressBar/CliProgressBar.h:21:13 #3 0x7f2690a1afcd in AnnotationController::AnnotateFeature(std::vector> const&, ScoringFactory const&, double, double, double, unsigned long, int) const /data/gannet/ripley/R/packages/tests-clang-UBSAN/mums2/src/AnnotationController.cpp:64:21 #4 0x7f2690a7d3f4 in AnnotateMs2Features(Rcpp::DataFrame_Impl const&, Rcpp::Vector<19, Rcpp::PreserveStorage>, SEXPREC*, Rcpp::Vector<19, Rcpp::PreserveStorage> const&, Rcpp::Vector<16, Rcpp::PreserveStorage> const&, double, double, double, unsigned long, int) /data/gannet/ripley/R/packages/tests-clang-UBSAN/mums2/src/annotateMs2Features.cpp:37:58 #5 0x7f2690a61fde in _mums2_AnnotateMs2Features /data/gannet/ripley/R/packages/tests-clang-UBSAN/mums2/src/RcppExports.cpp:30:34 #6 0x56414325598b in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x9098b) #7 0x56414329fdb7 in bcEval_loop eval.c #8 0x56414328e13b in bcEval eval.c #9 0x56414328d8f4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc88f4) #10 0x5641432a5a58 in R_execClosure eval.c #11 0x5641432a4f4a in applyClosure_core eval.c #12 0x56414328e816 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9816) #13 0x56414328dd47 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d47) #14 0x5641432aadb7 in do_set (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe5db7) #15 0x56414328db1f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8b1f) #16 0x5641432ac227 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7227) #17 0x564143294b73 in bcEval_loop eval.c #18 0x56414328e13b in bcEval eval.c #19 0x56414328d8f4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc88f4) #20 0x56414328e393 in forcePromise eval.c #21 0x56414328d9bd in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc89bd) #22 0x5641432ac706 in do_withVisible (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7706) #23 0x5641432effc7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12afc7) #24 0x564143294dd5 in bcEval_loop eval.c #25 0x56414328e13b in bcEval eval.c #26 0x56414328d8f4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc88f4) #27 0x56414328e393 in forcePromise eval.c #28 0x56414328d9bd in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc89bd) #29 0x56414328e393 in forcePromise eval.c #30 0x5641432a1ebf in getvar eval.c #31 0x564143292578 in bcEval_loop eval.c #32 0x56414328e13b in bcEval eval.c #33 0x56414328d8f4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc88f4) #34 0x5641432a5a58 in R_execClosure eval.c #35 0x5641432a4f4a in applyClosure_core eval.c #36 0x56414328e816 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9816) #37 0x56414328dd47 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d47) #38 0x5641432ac227 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7227) #39 0x564143294b73 in bcEval_loop eval.c #40 0x56414328e13b in bcEval eval.c #41 0x56414328d8f4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc88f4) #42 0x5641432a5a58 in R_execClosure eval.c #43 0x5641432a4f4a in applyClosure_core eval.c #44 0x56414328e816 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9816) #45 0x56414328dd47 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d47) #46 0x5641432a5a58 in R_execClosure eval.c #47 0x5641432a4f4a in applyClosure_core eval.c #48 0x564143294405 in bcEval_loop eval.c #49 0x56414328e13b in bcEval eval.c #50 0x56414328d8f4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc88f4) #51 0x5641432a5a58 in R_execClosure eval.c #52 0x5641432a4f4a in applyClosure_core eval.c #53 0x56414328e816 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9816) #54 0x56414328dd47 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8d47) #55 0x5641432daf37 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x115f37) #56 0x5641432dca3e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117a3e) #57 0x5641432dcaaa in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117aaa) #58 0x5641431c6db7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1db7) #59 0x7f26a3f11574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #60 0x7f26a3f11627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #61 0x5641431c6cd4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cd4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior CustomProgressBar/CliProgressBar.h:88:37 --- finished re-building ‘mums2.Rmd’