-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
ledger by @trevorld has support for rio, even though it is not in rio's Suggests. And of course, the code is not in this package. Currently, rio raises error with this message
Line 23 in 067a0ae
| xA <- gettext("Import support for the %s format is exported by the %s package. Run 'library(%s)' then try again.") |
A better approach for this is to first check for installation using .check_pkg_availability. If it's available, library() that package (or test with directly using the S3 method) and then import again. If it is not available, error the same way and suggest installing that package.
It can also be documented in the Vignette as a possible way to expand rio #320 .
@trevorld if you are reading this, you can put rio in Enhances.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels