Skip to content

Conversation

@arbelt
Copy link

@arbelt arbelt commented Jun 19, 2019

Assigning into an empty filter doesn't work when composed with an index_l afterwards. This seems to have to do with special semantics in data.frame indexing, e.g.,

d[i,"c"] <- y

works when i is empty, but

d[i,][,"c"] <- y

does not. I've added a simple check to ensure that the filter is not empty before performing the assignment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant