Skip to content

Autodetection of date format is confused by underscores #442

Closed
@krlmlr

Description

@krlmlr
> readr::read_csv("a\n2_15_3")
Warning: 1 parsing failure.
row col   expected actual
  1   a valid date 2_15_3
# A tibble: 1 x 1
       a
  <date>
1   <NA>

Why does readr think "2_15_3" is a date?

Metadata

Metadata

Assignees

Labels

bugan unexpected problem or unintended behavior

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions