Closed bart1 closed 1 year ago
The following command fails in rstudio when colorizing the output of str because col_big_integer is not in the switch statement:
str
col_big_integer
vroom(I("x,y\n1,2\n3,4\n"), col_types = list(y=col_integer(), x=col_big_integer())) |> str()
Note this does work when the output is not colorized for example in reprex, I believe the col_big_integer is omitted here: https://github.com/tidyverse/vroom/blob/548344f4826818ca988e80b90cdf7fd837a90561/R/col_types.R#L253
reprex
The following command fails in rstudio when colorizing the output of
str
becausecol_big_integer
is not in the switch statement:Note this does work when the output is not colorized for example in
reprex
, I believe thecol_big_integer
is omitted here: https://github.com/tidyverse/vroom/blob/548344f4826818ca988e80b90cdf7fd837a90561/R/col_types.R#L253