-
Notifications
You must be signed in to change notification settings - Fork 152
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
installing from git(hub) with submodules #82
Comments
Comment by hadley Yeah, I think that's a reasonable thing to add |
Comment by jonkeane I haven't looked at this since I sent the PR. If you check out the code at that point it should work, but let me know if there are any problems and I'll see what I can do to fix them. |
Comment by jimhester Also a workaround with CRAN devtools is to use something like the following r-lib/devtools#751 (comment) |
Comment by rtobar I'm also eager to see these changes included in devtools. Thus, I rebased @jonkeane's patch on top of the current master, and added a small improvement on top of it. I commented on the original pull request about this to know whether I should create a new one or if we can reuse it to include my changes as well. |
Issue by jonkeane
Thursday Apr 28, 2016 at 23:38 GMT
Originally opened as r-lib/devtools#1163
Currently git(hub) repositories with submodules can't be installed. There is a warning when using
install_github()
, but after the switch togit2r
it looks likeargs="--recursive"
are no longer supported ininstall_git()
.I've looked through git2r and I don't see any support for submodules there, but I might be missing it somewhere.
Would it be possible (and more importantly advisable) to add an option to check for a
.gitmodules
file when the repository is downloaded and then also download the submodules specified there before installing the package? I would be happy to take a stab at adding this and sending a pull request, but I want to make sure this isn't a terrible idea first.This is an off shoot from Issue #751
The text was updated successfully, but these errors were encountered: