I frequently read delimited data that may have hundreds of columns and I am specifying that I only want a certain few using
col_types = cols_only(foo = 'c', bar = 'i'). This leaves me with a tibble whose spec attribute includes a giant list of columns I didn't read labelled
col_skip(). This is not particularly useful information, and on the Environment pane in RStudio this spec attribute information tends to get in the way.
Currently I just put a line like
attr(my_tbl, 'spec') <- NULL after each
read_*, but it looks and feels ungraceful to do so. Surely there is a better way?