cli icon indicating copy to clipboard operation
cli copied to clipboard

Formatting for numbers?

Open hadley opened this issue 2 years ago • 1 comments

x <- 123456
cli::cli_inform("Downloading {x} files")
#> Downloading 123456 files

Created on 2023-11-08 with reprex v2.0.2.9000

Would be nice to have

#> Downloading 123,456 files

hadley avatar Nov 08 '23 20:11 hadley

Yeah, we can have some default {.num }.

gaborcsardi avatar Nov 08 '23 20:11 gaborcsardi