|>
exibble ::select(char) |>
dplyrgt() |>
fmt_passthrough(
columns = char,
rows = !is.na(char),
pattern = "{x}s"
)
char |
---|
apricots |
bananas |
coconuts |
durians |
NA |
figs |
grapefruits |
honeydews |
fmt_passthrough()
functionUse exibble
to create a gt table. Keep only the char
column. Pass the data in that column through but apply a simple pattern that adds an "s"
to the non-NA
values.