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

Fail fast if package being checked fails to install #360

Open
gadenbuie opened this issue May 24, 2023 · 1 comment
Open

Fail fast if package being checked fails to install #360

gadenbuie opened this issue May 24, 2023 · 1 comment

Comments

@gadenbuie
Copy link

I just ran into an issue where the dev version of the package being checked failed to install. I initially missed the failure because the warning scrolled off the screen. Once package checks complete, they all end up failing and most with the problem:

Package required but not available: '{package_being_checked}'

It'd be helpful to halt early in the process if the package being checked failed to install.

FYI for anyone else in a similar situation: revdep_check(quiet = FALSE) will reveal the installation error.

@gaborcsardi
Copy link
Member

This is kind of difficult, because we rely on install.packages() to install all required packages, and install.packages() does not stop if the installation of a dependency failed.

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

2 participants