R Under development (unstable) (2026-07-06 r90208) -- "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(datey) > > test_check("datey") S_durationy.cpp:313:34: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself #0 0x7f1332a44bb9 in durationyFromRString(cpp11::r_string, bool, bool, std::__cxx11::basic_string, std::allocator>) /data/gannet/ripley/R/packages/tests-clang-UBSAN/datey/src/S_durationy.cpp:313:34 #1 0x7f1332a40fd2 in cpp_durationyFromRString(cpp11::r_vector, bool, bool, cpp11::r_vector) /data/gannet/ripley/R/packages/tests-clang-UBSAN/datey/src/R_durationy.cpp:93:17 #2 0x7f1332a4a212 in _datey_cpp_durationyFromRString /data/gannet/ripley/R/packages/tests-clang-UBSAN/datey/src/cpp11.cpp:236:27 #3 0x556f4e45e1b5 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8f1b5) #4 0x556f4e4a9ea7 in bcEval_loop eval.c #5 0x556f4e49822b in bcEval eval.c #6 0x556f4e4979e4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc89e4) #7 0x556f4e4afb48 in R_execClosure eval.c #8 0x556f4e4af03a in applyClosure_core eval.c #9 0x556f4e498906 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9906) #10 0x556f4e4fc351 in dispatchMethod objects.c #11 0x556f4e4fbd78 in Rf_usemethod (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12cd78) #12 0x556f4e4fc8ad in do_usemethod (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12d8ad) #13 0x556f4e49eec5 in bcEval_loop eval.c #14 0x556f4e49822b in bcEval eval.c #15 0x556f4e4979e4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc89e4) #16 0x556f4e4afb48 in R_execClosure eval.c #17 0x556f4e4af03a in applyClosure_core eval.c #18 0x556f4e498906 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9906) #19 0x556f4e497e37 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8e37) #20 0x556f4e45c70b in do_External (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8d70b) #21 0x556f4e49ec63 in bcEval_loop eval.c #22 0x556f4e49822b in bcEval eval.c #23 0x556f4e4979e4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc89e4) #24 0x556f4e4afb48 in R_execClosure eval.c #25 0x556f4e4af03a in applyClosure_core eval.c #26 0x556f4e498906 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9906) #27 0x556f4e497e37 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8e37) #28 0x556f4e4b419a in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe519a) #29 0x556f4e497c0f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8c0f) #30 0x556f4e4afb48 in R_execClosure eval.c #31 0x556f4e4af03a in applyClosure_core eval.c #32 0x556f4e498906 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9906) #33 0x556f4e497e37 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8e37) #34 0x556f4e4b419a in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe519a) #35 0x556f4e497c0f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8c0f) #36 0x556f4e4b6317 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe7317) #37 0x556f4e49ec63 in bcEval_loop eval.c #38 0x556f4e49822b in bcEval eval.c #39 0x556f4e4979e4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc89e4) #40 0x556f4e4afb48 in R_execClosure eval.c #41 0x556f4e4af03a in applyClosure_core eval.c #42 0x556f4e498906 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9906) #43 0x556f4e497e37 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8e37) #44 0x556f4e4b66f7 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe76f7) #45 0x556f4e49ec63 in bcEval_loop eval.c #46 0x556f4e49822b in bcEval eval.c #47 0x556f4e4979e4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc89e4) #48 0x556f4e4afb48 in R_execClosure eval.c #49 0x556f4e4af03a in applyClosure_core eval.c #50 0x556f4e4b24e8 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe34e8) #51 0x556f4e3e47eb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x157eb) #52 0x556f4e4fa0b7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x12b0b7) #53 0x556f4e49eec5 in bcEval_loop eval.c #54 0x556f4e49822b in bcEval eval.c #55 0x556f4e4979e4 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc89e4) #56 0x556f4e4afb48 in R_execClosure eval.c #57 0x556f4e4af03a in applyClosure_core eval.c #58 0x556f4e498906 in Rf_applyClosure (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc9906) #59 0x556f4e497e37 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc8e37) #60 0x556f4e4e5027 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x116027) #61 0x556f4e4e6b2e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117b2e) #62 0x556f4e4e6b9a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x117b9a) #63 0x556f4e3d0db7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1db7) #64 0x7f1340711574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #65 0x7f1340711627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #66 0x556f4e3d0cd4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cd4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior S_durationy.cpp:313:34 [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1236 ] > > proc.time() user system elapsed 7.324 0.363 7.888