Since `data.table::merge()` now has `by.x` and `by.y` arguments. Moved from https://github.com/hadley/dplyr/issues/694, by @cderv