Skip to content

File containing a single NA value is read as chr instead of logi #2516

Description

@st-pasha
> str(fread("A\n\n"))
Classes ‘data.table’ and 'data.frame':	0 obs. of  1 variable:
 $ A: chr 
 - attr(*, ".internal.selfref")=<externalptr> 

Expected: a 1x1 data.table of logical type, instead getting a 0x1 data.table of character type.

Activity

  1. added this to the milestone on Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions