Skip to content

parse_time() invalid token: 'NA' #398

@kspaff

Description

@kspaff

parse_time() does not handle NA as I would expect. Very simple to reproduce:

parse_time('NA')
Error: Invalid token
parse_integer('NA')
[1] NA

Looks like there might be a missing break statement here:
https://github.com/hadley/readr/blob/master/src/Collector.cpp:355

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions