From f7d4b7bba66f4ea4e2ef1faaf4e65856e8bb81b7 Mon Sep 17 00:00:00 2001 From: "Alec L. Robitaille" Date: Sun, 14 Apr 2024 15:48:34 -0300 Subject: [PATCH] revert specify data.table merge --- R/edge_dist.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/edge_dist.R b/R/edge_dist.R index f75a329d..7201ab12 100644 --- a/R/edge_dist.R +++ b/R/edge_dist.R @@ -226,7 +226,7 @@ edge_dist <- function(DT = NULL, if (fillNA) { - data.table::merge.data.table(edges, + merge(edges, unique(DT[, .SD, .SDcols = c(splitBy, id)]), by.x = c(splitBy, 'ID1'), by.y = c(splitBy, id),