R Under development (unstable) (2026-12-02 r91021) -- "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. > library(testthat) > library(haven) > > test_check("haven") readstat/stata/readstat_dta_read.c:538:27: runtime error: index 2 out of bounds for type 'char [1]' #0 0x7b2481af8aa1 in dta_read_strls readstat/stata/readstat_dta_read.c:538 #1 0x7b2481af8aa1 in readstat_parse_dta readstat/stata/readstat_dta_read.c:1382 #2 0x7b2481b5fc05 in haven_parse /data/localhost/ripley/R/packages/tests-gcc-SAN/haven/src/reader.cpp:168 #3 0x7b2481b73cc7 in df_parse /data/localhost/ripley/R/packages/tests-gcc-SAN/haven/src/reader.cpp:317 #4 0x7b2481b73cc7 in read(SEXPREC*, cpp11::r_vector) /data/localhost/ripley/R/packages/tests-gcc-SAN/haven/src/reader.cpp:327 #5 0x7b2481b13b6e in _haven_read /data/localhost/ripley/R/packages/tests-gcc-SAN/haven/src/cpp11.cpp:12 #6 0x00000076d04e in R_doDotCall /data/localhost/ripley/R/svn/R-devel/src/main/dotcode.c:774 #7 0x0000009164ba in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8710 #8 0x0000008ed07e in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #9 0x000000889e9a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #10 0x0000008a3772 in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #11 0x0000008a756b in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #12 0x00000088a558 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #13 0x00000088a558 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #14 0x00000089fa9b in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3003 #15 0x00000088a994 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #16 0x0000005ce4c0 in do_switch /data/localhost/ripley/R/svn/R-devel/src/main/builtin.c:1077 #17 0x00000088a994 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #18 0x00000089fa9b in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3003 #19 0x00000088a994 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #20 0x0000008a3772 in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #21 0x0000008a756b in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #22 0x00000088a558 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #23 0x00000088a558 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #24 0x0000008bf78e in do_set /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3587 #25 0x00000088a994 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #26 0x00000089fa9b in do_begin /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3003 #27 0x00000088a994 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1230 #28 0x0000008c7a39 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3977 #29 0x000000902222 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155 #30 0x0000008ed07e in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #31 0x000000889e9a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #32 0x0000008a3772 in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #33 0x0000008a756b in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #34 0x00000088a558 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #35 0x00000088a558 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #36 0x0000008c8772 in do_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:3995 #37 0x000000902222 in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8155 #38 0x0000008ed07e in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #39 0x000000889e9a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #40 0x0000008a3772 in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #41 0x0000008a756b in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #42 0x0000008a92ac in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #43 0x0000008a92ac in R_forceAndCall /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2467 #44 0x0000004a4006 in do_lapply /data/localhost/ripley/R/svn/R-devel/src/main/apply.c:75 #45 0x000000ad7abc in do_internal /data/localhost/ripley/R/svn/R-devel/src/main/names.c:1425 #46 0x00000090bf7c in bcEval_loop /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:8175 #47 0x0000008ed07e in bcEval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:7537 #48 0x000000889e9a in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1167 #49 0x0000008a3772 in R_execClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2400 #50 0x0000008a756b in applyClosure_core /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2316 #51 0x00000088a558 in Rf_applyClosure /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:2335 #52 0x00000088a558 in Rf_eval /data/localhost/ripley/R/svn/R-devel/src/main/eval.c:1278 #53 0x000000a3ed75 in Rf_ReplIteration /data/localhost/ripley/R/svn/R-devel/src/main/main.c:264 #54 0x000000a3ed75 in R_ReplConsole /data/localhost/ripley/R/svn/R-devel/src/main/main.c:319 #55 0x000000a40c12 in run_Rmainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1239 #56 0x000000a4b412 in Rf_mainloop /data/localhost/ripley/R/svn/R-devel/src/main/main.c:1246 #57 0x0000004125bf in main /data/localhost/ripley/R/svn/R-devel/src/main/Rmain.c:29 #58 0x7f249000a680 in __libc_start_call_main (/lib64/libc.so.6+0x3680) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #59 0x7f249000a797 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3797) (BuildId: 85075e2ae2e13352a1413d41c327dacf6461526c) #60 0x000000412fa4 in _start (/data/localhost/ripley/R/gcc-SAN3/bin/exec/R+0x412fa4) (BuildId: 22b3b8bdf85766b8a031148e21aae232cc7963ac) [ FAIL 0 | WARN 0 | SKIP 38 | PASS 626 ] ══ Skipped tests (38) ══════════════════════════════════════════════════════════ • On CRAN (38): 'test-haven-sas.R:109:3', 'test-haven-sas.R:133:1', 'test-haven-sas.R:315:1', 'test-haven-sas.R:321:1', 'test-haven-sas.R:462:1', 'test-haven-sas.R:527:1', 'test-haven-sas.R:535:1', 'test-haven-spss.R:298:1', 'test-haven-spss.R:479:1', 'test-haven-spss.R:525:1', 'test-haven-spss.R:533:1', 'test-haven-spss.R:650:1', 'test-haven-spss.R:659:1', 'test-haven-spss.R:668:3', 'test-haven-stata.R:320:1', 'test-haven-stata.R:342:3', 'test-haven-stata.R:358:1', 'test-haven-stata.R:365:1', 'test-haven-stata.R:458:1', 'test-haven-stata.R:466:1', 'test-labelled-pillar.R:1:1', 'test-labelled-pillar.R:11:1', 'test-labelled.R:172:1', 'test-labelled.R:194:1', 'test-labelled.R:343:1', 'test-labelled_spss.R:1:1', 'test-labelled_spss.R:10:1', 'test-labelled_spss.R:19:1', 'test-labelled_spss.R:186:1', 'test-labelled_spss.R:208:1', 'test-meta.R:20:1', 'test-meta.R:26:1', 'test-meta.R:70:1', 'test-meta.R:130:1', 'test-tagged_na.R:56:1', 'test-utils.R:49:1', 'test-zap_formats.R:13:1', 'test-zap_widths.R:18:1' [ FAIL 0 | WARN 0 | SKIP 38 | PASS 626 ] > > proc.time() user system elapsed 15.994 0.345 16.464