-
Notifications
You must be signed in to change notification settings - Fork 758
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
Helper to manage Remotes #1304
Comments
@gaborcsardi would you consider adding remotes helpers to desc? |
Sure, makes sense, I was already thinking about it. How about
This basically matches the other helpers in |
Yeah, I like it. |
Actually, I am writing this now, and you would also need sg that updates a location, because it happens relatively often that you specify a (different) tag or hash for an existing remote. So I'll add
as well. This is more work, as I need to parse the location to see which one needs to be updated. Or maybe Also, it makes sense to warn if a remote is added but the package is not in any of the dependency fields. |
OK, I'll leave out the updating part for now, there is no proper API for it anywhere..... |
There is an implementation in r-lib/desc@dc6d680 |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
It would be nice to have a
Remotes
helper. Or maybeuse_package()
could help with this.The text was updated successfully, but these errors were encountered: