Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assignment into empty filter_l #33

Open
arbelt opened this issue Jun 20, 2019 · 0 comments
Open

Assignment into empty filter_l #33

arbelt opened this issue Jun 20, 2019 · 0 comments

Comments

@arbelt
Copy link

arbelt commented Jun 20, 2019

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.

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

No branches or pull requests

1 participant