Skip to content

memrecycle fails to coerce complex to character #4202

@sritchie73

Description

@sritchie73

Current behaviour:

A = data.table(A=as.complex(1))
B = data.table(A="foo")
rbind(A,B)
# Error in rbindlist(l, use.names, fill, idcol) : 
#   Unsupported type 'complex' passed to allNA()

Expected:

rbind(A,B)
#         A
#    <char>
# 1:   0+0i
# 2:    foo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions