Skip to content

Commit

Permalink
Merge pull request #228 from stemangiola/tibble_to_SE
Browse files Browse the repository at this point in the history
try fix
  • Loading branch information
stemangiola authored Dec 14, 2021
2 parents b2a74f4 + fcdae4f commit 20dfb5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 20dfb5f

Please sign in to comment.