chainsawriot
chainsawriot
`zip` is a dependency of `openxlsx` anyway; and it also allows Windows support (without RTools).
Also useful for this. This should be datafied. https://github.com/gesistsa/rio/blob/6af91048cdeffb221e12056ec75087b3b7148d14/R/utils.R#L33-L110
- [x] catalogue how many sources of truth are there.
https://github.com/gesistsa/rio/blob/6af91048cdeffb221e12056ec75087b3b7148d14/README.Rmd#L94-L132 https://github.com/gesistsa/rio/blob/6af91048cdeffb221e12056ec75087b3b7148d14/vignettes/rio.Rmd#L36-L73 https://github.com/gesistsa/rio/blob/6af91048cdeffb221e12056ec75087b3b7148d14/R/utils.R#L33-L110 https://github.com/gesistsa/rio/blob/6af91048cdeffb221e12056ec75087b3b7148d14/R/extensions.R#L25-L45 https://github.com/gesistsa/rio/blob/6af91048cdeffb221e12056ec75087b3b7148d14/R/extensions.R#L59-L67 Documentation also contains the repeated information, but probably difficult to limit this to just one source. https://github.com/gesistsa/rio/blob/6af91048cdeffb221e12056ec75087b3b7148d14/R/export.R#L15-L43 https://github.com/gesistsa/rio/blob/6af91048cdeffb221e12056ec75087b3b7148d14/R/import.R#L14-L51
With this can also remove this parsing of `DESCRIPTION` https://github.com/gesistsa/rio/blob/442b7d350e555fd55aec4e76a4f68c56e20dede4/R/suggestions.R#L21-L51
```r jsonlite::toJSON(data.frame(extension = c("csv", "psv"), format = c("Comma-separated data", "Pipe-separated data"), import = c("data.table::fread", "data.table::fread"), export = c("data.table::fwrite", "data.table::fread"), type = c("Imports", "Imports"), note = c("", ""))) ``` ```json [...
https://github.com/gesistsa/rio/blob/51e4421466105406b6afa25fcdc6a081505ba206/R/utils.R#L38 Undocumented, and pita to make this work for `knitr::kable`.
TODO - [x] Make `get_type` using the internal data - [x] Make `.export.default` using the internal data - [x] Make `.import.default` using the internal data - [x] Make `uninstalled_format()` using...
- [x] #351 Change the column name from `fmt` to `format`
- [x] Remove `ext` in internal data (b/c it's confusing)