Skip to content

colClasses=logical is no longer working #2766

@st-pasha

Description

@st-pasha

This appears to be a very similar issue to #2251, which hopefully means that a similar solution can be applied.

> fread("A,B\n1,TRUE", colClasses=c("integer", "logical"))
Error in fread("A,B\n1,TRUE", colClasses = c("integer", "logical")) : 
  Attempt to override column 2 <<B>> of inherent type 'bool8' down to 'bool8' which will lose accuracy. If this was intended, please coerce to the lower type afterwards. Only overrides to a higher type are permitted.

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