gesistsa / rio

🐟 A Swiss-Army Knife for Data I/O
http://gesistsa.github.io/rio/
600 stars 76 forks source link

`dat` format is not supported, but should be #430

Closed chainsawriot closed 3 months ago

chainsawriot commented 3 months ago

See this dreamRs/datamods#79

We have the method.

https://github.com/gesistsa/rio/blob/b79130e4c1091a7c7cab65b6bf5d41a7626396e9/R/import_methods.R#L30-L34

But

x <- tempfile(fileext = ".dat")

readr::write_delim(mtcars, file = x)
rio::import(file = x)
#> Error: Format not supported

Created on 2024-06-09 with reprex v2.1.0

The issue is that get_info doesn't have the data.