Skip to content
Prev 54826 / 63424 Next

Duplicate column names created by base::merge() when by.x has the same name as a column in y

Thanks Duncan and Frederick,

I suspected as much - there doesn't appear to be any reason why conflicts
between by.x and names(y) shouldn't and cannot be checked, but I can see
how this might be more trouble than its worth given it potentially may
break downstream packages (i.e. any cases where this occurs but they expect
the name of the key column(s) to remain the same).

Best,

Scott

On 18 February 2018 at 11:48, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote: