-
Notifications
You must be signed in to change notification settings - Fork 89
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
Use rlang::check_installed() on checking the dependencies #526
Comments
I think that it is better to leave as-is. If someone is using parallel processing during and interactive session, we don't want the worker processes trying to prompt the user for input. If you want, you could create a |
Ah, I didn't consider parallelism, sorry... |
No worries. It is was a good idea. |
We could consider adding an additional "precheck" check before fitting happens (possibly in workers) to see if packages are installed in the main R process. This "precheck" (using |
In light of the above discussion, and for consistency with |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
Currently
parsnip:::check_installs()
just aborts when the dependency package is not installed yet. I think it would be helpful to userlang::check_install()
to let users install the packages interactively.The text was updated successfully, but these errors were encountered: