Closed chainsawriot closed 2 weeks ago
Also this line in the README
https://github.com/gesistsa/rio/blob/447ea1b9b2f50761f8a646d4adb95e2a270175c0/README.Rmd#L84
A better way would be to have a function to check for the format support. An exported version of uninstalled_formats
.
The loading message could be: "Some optional R packages were not installed and therefore some file formats are not supported. Check file support with show_supported_formats()
".
And then when running this, it shows the suggestion about installing individual format or install them all.
This startup message
https://github.com/gesistsa/rio/blob/447ea1b9b2f50761f8a646d4adb95e2a270175c0/R/onLoad.R#L5
seems to suggest that one needs to install suggested packages in order to use the package; therefore #387 #452
One improvement is to list out all the unsupported file formats and the suggested packages.
A message like "If you need to use any file format list above, please install the suggested package individually; or install all of them with
install_formats()
"