tidyverse / readr

Read flat files (csv, tsv, fwf) into R
https://readr.tidyverse.org
Other
1.01k stars 286 forks source link

Add option to silence Column specification for type_convert #1545

Open HedvigS opened 3 months ago

HedvigS commented 3 months ago

When embedding readr::type_convert in other functions it can be inconvenient to have the Column specification message. I could silence it by wrapping it in suppressMessages(), but then I might miss other relevant information.

Can readr::type_convert please have the optional argument for silencing specifically Column specification? It could be the same as for the read functions, i.e. show_col_types.

chainsawriot commented 2 months ago

@HedvigS

You might consider minty, if type_convert() is the only function which you use.

HedvigS commented 2 months ago

@HedvigS

You might consider minty, if type_convert() is the only function which you use.

Thanks for the suggestion! I use readr for more functions, and I'd prefer when possible to not depend on too many different packages. but I appreciate the suggestion!