lenses
lenses copied to clipboard
Assignment into empty filter_l
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.