R Under development (unstable) (2026-11-11 r90876) -- "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(grates) > > test_check("grates") grates.c:37:60: runtime error: nan is outside the range of representable values of type 'int' #0 0x7f2a7b17aae5 in as_grouped_week_from_date /data/localhost/ripley/R/packages/tests-clang-UBSAN/grates/src/grates.c:37:60 #1 0x564271f23b92 in R_doDotCall (/data/localhost/ripley/R/R-clang/bin/exec/R+0x90b92) #2 0x564271f6fe9c in bcEval_loop eval.c #3 0x564271f5dbfb in bcEval eval.c #4 0x564271f5d3b4 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca3b4) #5 0x564271f759c8 in R_execClosure eval.c #6 0x564271f74e9a in applyClosure_core eval.c #7 0x564271f5e2c6 in Rf_applyClosure (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcb2c6) #8 0x564271fc2681 in dispatchMethod objects.c #9 0x564271fc20a8 in Rf_usemethod (/data/localhost/ripley/R/R-clang/bin/exec/R+0x12f0a8) #10 0x564271fc2bde in do_usemethod (/data/localhost/ripley/R/R-clang/bin/exec/R+0x12fbde) #11 0x564271f64775 in bcEval_loop eval.c #12 0x564271f5dbfb in bcEval eval.c #13 0x564271f5d3b4 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca3b4) #14 0x564271f759c8 in R_execClosure eval.c #15 0x564271f74e9a in applyClosure_core eval.c #16 0x564271f5e2c6 in Rf_applyClosure (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcb2c6) #17 0x564271f5d807 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca807) #18 0x564271f5de53 in forcePromise eval.c #19 0x564271f5d47d in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca47d) #20 0x564271f5de53 in forcePromise eval.c #21 0x564271f5d395 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca395) #22 0x564271fc2b42 in do_usemethod (/data/localhost/ripley/R/R-clang/bin/exec/R+0x12fb42) #23 0x564271f64775 in bcEval_loop eval.c #24 0x564271f5dbfb in bcEval eval.c #25 0x564271f5d3b4 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca3b4) #26 0x564271f759c8 in R_execClosure eval.c #27 0x564271f74e9a in applyClosure_core eval.c #28 0x564271f5e2c6 in Rf_applyClosure (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcb2c6) #29 0x564271f5d807 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca807) #30 0x564271f7ad27 in do_set (/data/localhost/ripley/R/R-clang/bin/exec/R+0xe7d27) #31 0x564271f5d5df in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca5df) #32 0x564271f7a01a in do_begin (/data/localhost/ripley/R/R-clang/bin/exec/R+0xe701a) #33 0x564271f5d5df in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca5df) #34 0x564271f759c8 in R_execClosure eval.c #35 0x564271f74e9a in applyClosure_core eval.c #36 0x564271f5e2c6 in Rf_applyClosure (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcb2c6) #37 0x564271f5d807 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca807) #38 0x564271f5de53 in forcePromise eval.c #39 0x564271f5d395 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca395) #40 0x564271fc2b42 in do_usemethod (/data/localhost/ripley/R/R-clang/bin/exec/R+0x12fb42) #41 0x564271f64775 in bcEval_loop eval.c #42 0x564271f5dbfb in bcEval eval.c #43 0x564271f5d3b4 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca3b4) #44 0x564271f759c8 in R_execClosure eval.c #45 0x564271f74e9a in applyClosure_core eval.c #46 0x564271f5e2c6 in Rf_applyClosure (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcb2c6) #47 0x564271f5d807 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca807) #48 0x564271f5df77 in Rf_evalList (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcaf77) #49 0x564271f5d680 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca680) #50 0x564271f5df77 in Rf_evalList (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcaf77) #51 0x564271f5d680 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca680) #52 0x564271f5df77 in Rf_evalList (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcaf77) #53 0x564271f5d680 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca680) #54 0x564271f7ad27 in do_set (/data/localhost/ripley/R/R-clang/bin/exec/R+0xe7d27) #55 0x564271f5d5df in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca5df) #56 0x564271f7a01a in do_begin (/data/localhost/ripley/R/R-clang/bin/exec/R+0xe701a) #57 0x564271f5d5df in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca5df) #58 0x564271f7c187 in do_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xe9187) #59 0x564271f64517 in bcEval_loop eval.c #60 0x564271f5dbfb in bcEval eval.c #61 0x564271f5d3b4 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca3b4) #62 0x564271f759c8 in R_execClosure eval.c #63 0x564271f74e9a in applyClosure_core eval.c #64 0x564271f5e2c6 in Rf_applyClosure (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcb2c6) #65 0x564271f5d807 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca807) #66 0x564271f7c567 in do_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xe9567) #67 0x564271f64517 in bcEval_loop eval.c #68 0x564271f5dbfb in bcEval eval.c #69 0x564271f5d3b4 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca3b4) #70 0x564271f759c8 in R_execClosure eval.c #71 0x564271f74e9a in applyClosure_core eval.c #72 0x564271f78368 in R_forceAndCall (/data/localhost/ripley/R/R-clang/bin/exec/R+0xe5368) #73 0x564271ea886b in do_lapply (/data/localhost/ripley/R/R-clang/bin/exec/R+0x1586b) #74 0x564271fc03c7 in do_internal (/data/localhost/ripley/R/R-clang/bin/exec/R+0x12d3c7) #75 0x564271f64775 in bcEval_loop eval.c #76 0x564271f5dbfb in bcEval eval.c #77 0x564271f5d3b4 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca3b4) #78 0x564271f759c8 in R_execClosure eval.c #79 0x564271f74e9a in applyClosure_core eval.c #80 0x564271f5e2c6 in Rf_applyClosure (/data/localhost/ripley/R/R-clang/bin/exec/R+0xcb2c6) #81 0x564271f5d807 in Rf_eval (/data/localhost/ripley/R/R-clang/bin/exec/R+0xca807) #82 0x564271fab387 in Rf_ReplIteration (/data/localhost/ripley/R/R-clang/bin/exec/R+0x118387) #83 0x564271face7e in run_Rmainloop (/data/localhost/ripley/R/R-clang/bin/exec/R+0x119e7e) #84 0x564271faceea in Rf_mainloop (/data/localhost/ripley/R/R-clang/bin/exec/R+0x119eea) #85 0x564271e94db7 in main (/data/localhost/ripley/R/R-clang/bin/exec/R+0x1db7) #86 0x7f2a7d60a680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #87 0x7f2a7d60a797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #88 0x564271e94cd4 in _start (/data/localhost/ripley/R/R-clang/bin/exec/R+0x1cd4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior grates.c:37:60 Scale for x is already present. Adding another scale for x, which will replace the existing scale. Scale for x is already present. Adding another scale for x, which will replace the existing scale. Scale for x is already present. Adding another scale for x, which will replace the existing scale. Scale for x is already present. Adding another scale for x, which will replace the existing scale. Scale for x is already present. Adding another scale for x, which will replace the existing scale. Scale for x is already present. Adding another scale for x, which will replace the existing scale. Scale for x is already present. Adding another scale for x, which will replace the existing scale. Scale for x is already present. Adding another scale for x, which will replace the existing scale. Scale for x is already present. Adding another scale for x, which will replace the existing scale. Scale for x is already present. Adding another scale for x, which will replace the existing scale. [ FAIL 0 | WARN 0 | SKIP 12 | PASS 868 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • On CRAN (12): 'test-plots.R:33:1', 'test-plots.R:71:1', 'test-plots.R:103:1', 'test-plots.R:135:1', 'test-plots.R:164:1', 'test-plots.R:200:1', 'test-plots.R:235:1', 'test-plots.R:271:1', 'test-plots.R:310:1', 'test-plots.R:356:1', 'test-plots.R:376:1', 'test-plots.R:396:1' [ FAIL 0 | WARN 0 | SKIP 12 | PASS 868 ] > > proc.time() user system elapsed 18.059 0.469 19.896