This segfaults:
vroom::vroom(
I('field1,"unmatched,field3\n'),
delim = ",",
col_names = FALSE,
show_col_types = FALSE
)
Now, it is a malformed input, but it shouldn't segfault.
The correction is to provide a quote value that is consistent with the input, e.g.:
vroom::vroom(
I('field1,"unmatched,field3\n'),
delim = ",",
quote = "",
col_names = FALSE,
show_col_types = FALSE
)
#> # A tibble: 1 × 3
#> X1 X2 X3
#> <chr> <chr> <chr>
#> 1 field1 "\"unmatched" field3
Created on 2026-06-10 with reprex v2.1.1
This segfaults:
Now, it is a malformed input, but it shouldn't segfault.
The correction is to provide a
quotevalue that is consistent with the input, e.g.:Created on 2026-06-10 with reprex v2.1.1