readr
readr copied to clipboard
Prompt to install archive if you try to read file types that archive supports.
readr could take more advantage of archive automatically, to read from things like 7z, RAR, tar.gz etc. archives.
There is some code currently in vroom to use archive if it is installed
https://github.com/r-lib/vroom/blob/1b8354671b85d40e3797116be892bd298ebab850/R/path.R#L106-L126
But we might want to be more proactive and check for these types of extensions and prompt users to install archive to read them.
Should archive export something like archive_formats() to make it easier to identify if a file extension is supported? https://github.com/r-lib/vroom/blob/1b8354671b85d40e3797116be892bd298ebab850/R/path.R#L171
yeah, I think that would make sense.