From a24bac3c1f4e1132a8eb91be2f690dfd938d0aac Mon Sep 17 00:00:00 2001 From: go_gonzo Date: Fri, 8 Nov 2024 18:51:53 +0100 Subject: [PATCH] fix for unverified --- R/teal_data-extract.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/teal_data-extract.R b/R/teal_data-extract.R index 369257427..dfa719a5c 100644 --- a/R/teal_data-extract.R +++ b/R/teal_data-extract.R @@ -24,7 +24,7 @@ #' #' @export `[.teal_data` <- function(x, names) { - x <- NextMethod("`[`", x, check_names = FALSE) # takes 'names' from function's environment + x <- NextMethod("`[`", x, check_code_names = x@verified) # unverified doesn't need warning for code inconsistency x@join_keys <- x@join_keys[names] x }