From 00b8e04ae8d092b234c1e1c8585a103fedfc5c83 Mon Sep 17 00:00:00 2001 From: dajmcdon Date: Thu, 20 Jun 2024 20:59:32 +0000 Subject: [PATCH] style: styler (GHA) --- R/methods-epi_df.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/methods-epi_df.R b/R/methods-epi_df.R index 3f0626fe..fa881b82 100644 --- a/R/methods-epi_df.R +++ b/R/methods-epi_df.R @@ -12,7 +12,9 @@ as_tibble.epi_df <- function(x, ...) { # Decaying drops the class and metadata. `as_tibble.grouped_df` drops the # grouping and should be called by `NextMethod()` in the current design. # See #223 for discussion of alternatives. - if (attr(x, "no_decay_to_tibble") %||% FALSE) return(x) + if (attr(x, "no_decay_to_tibble") %||% FALSE) { + return(x) + } decay_epi_df(NextMethod()) }