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) }