From 39b15b35b713de5f08fec757f27af055bc1c0970 Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Fri, 2 Feb 2024 22:35:00 -0500 Subject: [PATCH] group_tt indexing bug --- R/group_tt.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/group_tt.R b/R/group_tt.R index 4b62b26e..1fac96c0 100644 --- a/R/group_tt.R +++ b/R/group_tt.R @@ -58,6 +58,7 @@ sanitize_group_index <- function(idx, hi, orientation) { assert_integerish(idx[[n]], lower = 1, upper = hi, name = n) } } + browser() if (anyDuplicated(unlist(idx)) > 0) stop("Duplicate group indices.", call. = FALSE) out <- lapply(idx, function(x) min(x):max(x)) return(out)