Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't nudge the users to install all suggested packages #453

Closed
chainsawriot opened this issue Sep 10, 2024 · 2 comments
Closed

Don't nudge the users to install all suggested packages #453

chainsawriot opened this issue Sep 10, 2024 · 2 comments

Comments

@chainsawriot
Copy link
Collaborator

This startup message

msg <- "The following rio suggested packages are not installed: %s\nUse 'install_formats()' to install them"

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()"

@chainsawriot
Copy link
Collaborator Author

Also this line in the README

rio/README.Rmd

Line 84 in 447ea1b

**rio** supports a wide range of file formats. To keep the package slim, several formats are supported via "Suggests" packages, which are not installed (or loaded) by default. To ensure rio is fully functional, install these packages the first time you use **rio** via:

@chainsawriot
Copy link
Collaborator Author

chainsawriot commented Sep 11, 2024

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.

chainsawriot added a commit that referenced this issue Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant