tidyverse/vroom

vroom fails to detect delimiter if data is quoted with double quote or only contains one column

hidekoji opened this issue · 0 comments

This is related to tidyverse/readr#1460
With vroom version 1.6.0, If data is quoted with double quotes, it fails to detect the delimiter even if I specify the quote parameter.

vroom::vroom('"Date","WWDC Page Access"
+ "2015-07-01",186
+ "2015-07-02",161', quote='"')
#> Error: Could not guess the delimiter.
#> 
#> Use `vroom(delim =)` to specify one explicitly.

Created on 2023-01-27 with reprex v2.0.2

Also, if it contains only one column, it cannot detect the delimiter too.

vroom::vroom("a
2022-01-01")
#> Error: Could not guess the delimiter.
#> 
#> Use `vroom(delim =)` to specify one explicitly.

Created on 2023-01-27 with reprex v2.0.2