-
Notifications
You must be signed in to change notification settings - Fork 154
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
Is there an option of warning-continue instead of error-exit on init failure? #487
Comments
Just for clarity, you're calling This isn't currently possible, but seems like it would be worth implementing. As an aside, you could also use |
What I wanted to do is to keep a lockfile in the Github repo, so others could clone the repo and install the same packages. Now I get that I should also commit |
Still though, won't that be an issue for other users down the line? If they're unable to install packages required by a particular project, then they're unlikely to be able to run scripts in that project. Or are these packages optional, or used only in separate circumstances? |
I have wished for this feature as well. I'll sometimes run into difficulties restoring from a lockfile (I think normally due to issues installing older versions of packages from source). If I need to work on part of the project that doesn't use all the dependencies it'd be nice to restore everything else, and leave dealing with the unsuccessful dependencies for later. |
While this isn't a perfect fix, you should be able to do something like:
to restore a subset of packages from a lockfile (+ that package's dependencies). Note that
|
Oh nice, I didn't know that |
I think this is now a duplicate of #1109 |
I checked the previous issues but I didn't find a related one, please refer me to any relevant ones if exist.
I was wondering if there's any option with
init()
to set in order to make it possible to skip errors while installing packages specified inrenv.lock
. What I am looking for is an option so that whenever it fails to install a package, it should try the next one till the end and then provide a log of the failed attempts. Is there any possibility? And what would be the cons of it?Thanks
The text was updated successfully, but these errors were encountered: