From a75503bcaa3872921a8aad18f7c2705408296bdb Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Wed, 23 Oct 2024 07:55:52 -0400 Subject: [PATCH] vignette --- vignettes/format.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/format.qmd b/vignettes/format.qmd index 8d2c5f9b..55cb8f1c 100644 --- a/vignettes/format.qmd +++ b/vignettes/format.qmd @@ -269,7 +269,7 @@ On top of the built-in features of `format_tt`, a custom formatting function can ```{r} tt(x) |> - format_tt(j = "mpg", fn = function(x) paste0(x, " mpg")) |> + format_tt(j = "mpg", fn = function(x) paste0(x, " mi/gal")) |> format_tt(j = "drat", fn = \(x) signif(x, 2)) ```