pillar icon indicating copy to clipboard operation
pillar copied to clipboard

Display of data that is "almost equal" between rows

Open krlmlr opened this issue 2 years ago • 1 comments

  • For numbers: e.g. 100.001, 100.002, 100.003, https://github.com/r-lib/pillar/issues/97#issuecomment-363699335
  • For strings: e.g. "abcde", "abcdf", "abdfe", https://github.com/r-lib/pillar/issues/97#issuecomment-363699335, https://github.com/r-lib/pillar/issues/101

Should we implement a class that applies subtle styling to the parts of strings/numbers that are the same across all columns, and that sets the minimum width accordingly? Should we even move common information to the header?

krlmlr avatar Dec 25 '21 17:12 krlmlr

This could become an extension to num() and char().

krlmlr avatar Jun 30 '22 01:06 krlmlr