pillar
pillar copied to clipboard
Escape sequences and abbreviations in character data
pillar::pillar(" 1234567890 ", width = 8)
#> <pillar>
#> <chr>
#> " 12345…
pillar::pillar(" 1234\n", width = 8)
#> <pillar>
#> <chr>
#> " 1234\…
Created on 2022-06-30 by the reprex package (v2.0.1)
Also, it's worth highlighting escape sequences in red.
Extract from #235.