Open renkun-ken opened 4 years ago
Hmm I think I would prefer to just implement #3506
This is slightly different. This is suggesting using NSE to transform a bare date into a list date, similar to what happens with bare characters.
It would be easy to accommodate if this is something that should be supported. It would be good to have #4585 merged first as there would be some conflicts otherwise although I realize the other PR might be too much change.
It is known that using a numeric vector in
i
will be treated as subsetting by index. However, if the supplied numeric vector has some classes (e.g.Date
), then it might make more sense not to subset by index but join (just like a character vector).Consider the following example:
The following error is produced:
User might expect it to behave like