Skip to content

Assignment into empty filter_l #33

@arbelt

Description

@arbelt

Assigning to a composed filter_l + index_l generates an error. Seems that assigning into an empty subset and assigning into an empty dataframe are handled differently, e.g.,

# for empty index i
d[i,cols] <- NA  # works
d[i,][,cols] <- NA  # doesn't work

Submitted a simple PR — #32 — to perform the assignment only if the set of rows is non-empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions