From 1cc378a4df64a99912e9ee2181e244252666f157 Mon Sep 17 00:00:00 2001 From: alexanderbates Date: Mon, 26 Aug 2024 14:55:37 -0400 Subject: [PATCH] fixed typo in updateids --- R/ids.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ids.R b/R/ids.R index 681ff0a..b653c13 100644 --- a/R/ids.R +++ b/R/ids.R @@ -133,7 +133,7 @@ banc_updateids <- function(rootid, ...){ old <- !banc_islatest(rootid, ...) old[is.na(old)] <- TRUE #cat("latest/outdated: ",table(old)) - updated <- banc_latestid(x[old], ...) + updated <- banc_latestid(rootid[old], ...) rootid[old] <- updated rootid }