Closed thomased closed 1 year ago
Yeah on reflection I think you’re quite right. I threw this together quickly while playing with something else, but not sure it’s worth the risk.
The two df limit on merge.data.frame
is curious though, I’d be interested to know more sometime. My guess is control, and inspiration from SQL. Better control of join types, keys etc.
Leaning toward just a richer example like you suggest then, but I’ll leave this here for a bit to think it over/chat.
Added the example - 9509cfbe2148f77d61a4233cff0d44caca15f0ae. Might leave it there for now then.
Rejigged
merge.rspec()
so it can accept an arbitrary number ofrspec
objects. Added some tests to match, and fixed up the docs. It's still a little clunky, but it's necessary (I think...) to avoid a breaking changes. Is this otherwise a bad idea for reasons I haven't thought of?