Closed adrianolszewski closed 6 months ago
Thanks. Honestly, I never checked coloring with plain data frames.
It's going to be difficult and brittle to detect if we're using num
from a tibble or from a data frame. The best we can do is to add a color = TRUE
flag to num()
, or to rely on the user to turn off colored output altogether.
Closing, because this is implemented in pillar. Let's continue there if needed.
The "num()" function returns a strange code when a column stores negative numbers in a data.frame I noticed that this happens only for data.frames:
while for tibble() it works well:
Is num() intended to work only with tibbles?
Package version:
PS: I guess this comes from colouring? Maybe - when working with data.frames, this could be cast to just a "raw" number, like for the positive values?