From db7c6d647a45bf6772fe705b1f50780853d137b6 Mon Sep 17 00:00:00 2001 From: jimrothstein Date: Thu, 16 Jan 2025 14:28:06 -0800 Subject: [PATCH] # 480 add invisible(x) to teal_slices --- R/teal_slices.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/teal_slices.R b/R/teal_slices.R index f8d0812f3..47593ef8b 100644 --- a/R/teal_slices.R +++ b/R/teal_slices.R @@ -235,6 +235,7 @@ format.teal_slices <- function(x, show_all = FALSE, trim_lines = TRUE, ...) { #' print.teal_slices <- function(x, ...) { cat(format(x, ...), "\n") + invisible(x) }