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

requirePackages gives potentially misleading error message #77

Open
mb706 opened this issue Aug 5, 2017 · 1 comment
Open

requirePackages gives potentially misleading error message #77

mb706 opened this issue Aug 5, 2017 · 1 comment

Comments

@mb706
Copy link
Contributor

mb706 commented Aug 5, 2017

When requirePackages fails to load a package, it usually tells the user that the packages in question are not installed. This ignores the fact that packages may fail to load for other reasons (e.g. "too many DLLs loaded").
This is especially confusing when default.method = "load", since requireNamespace has quietly set to TRUE, which therefore suppresses all other info about why a package didn't load.

@mb706
Copy link
Contributor Author

mb706 commented Sep 6, 2017

Second time that I have problems because of this, this time because R CMD check --as-cran prevents packages from loading that are not specified in suggests or similar, and I'm loading a defective package that doesn't list its dependencies in suggests.

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