From fcdae4fd1a494261fc3d2b6223f785a534cad4b7 Mon Sep 17 00:00:00 2001 From: stemangiola Date: Mon, 13 Dec 2021 16:36:55 +1100 Subject: [PATCH] try fix --- R/utilities.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/R/utilities.R b/R/utilities.R index ab2fc1d6..8cb99cec 100755 --- a/R/utilities.R +++ b/R/utilities.R @@ -268,7 +268,10 @@ scale_design = function(df, .formula) { } get_tt_columns = function(.data){ - if(.data %>% attr("internals") %>% is.list() ) #& "internals" %in% (.data %>% attr("internals") %>% names())) + if( + .data %>% attr("internals") %>% is.list() && + "tt_columns" %in% names(.data %>% attr("internals")) + ) #& "internals" %in% (.data %>% attr("internals") %>% names())) .data %>% attr("internals") %$% tt_columns else NULL }