Closed stanekam closed 9 years ago
What's your OS?
Mac OS X 10.9.5
I have the same problem with Mac OS X 10.10.3 using an internal GitLab 7.6.2 repository.
sessionInfo():
R version 3.2.0 (2015-04-16)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.3 (Yosemite)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] git2r_0.10.1 devtools_1.8.0.9000
loaded via a namespace (and not attached):
[1] memoise_0.2.1 digest_0.6.8
Hi there, I'm getting a similar issue on ubuntu 14.04 with ssh installed. I had installed devtools without ther ssh2 dev library, but I fixed that and reinstalled git2r and then devtools. git2r now reports as happy with ssh, but I still can't get devtools to run install_git .
install_git("c97sr/idd") Downloading git repo c97sr/idd Error in git2r::clone(x$url, bundle, credentials = x$credentials, progress = FALSE) : Error in 'git2r_clone': Unsupported URL protocol libgit2_features() $threads [1] FALSE
$https [1] TRUE
$ssh [1] TRUE
@c97sr Are you sure you want to use install_git()
and not install_github("c97sr/idd")
?
Yes - that makes sense. Thanks for the quick answer.
On 26 July 2016 at 13:14, Jim Hester notifications@github.com wrote:
@c97sr https://github.com/c97sr Are you sure you want to use install_git() and not install_github("c97sr/idd)?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hadley/devtools/issues/819#issuecomment-235249788, or mute the thread https://github.com/notifications/unsubscribe-auth/ADGGGQDFVZOl3aJWta3zbbeKVwO-pp4Jks5qZfoqgaJpZM4Eqrdb .
Professor of Infectious Disease Dynamics MRC Centre for Outbreak Analysis and Modelling Department of Infectious Disease Epidemiology School of Public Health, Imperial College London +44 207 594 2452 | goo.gl/m4KfhR | @SRileyIDD
@jimhester I need install_git()
because of this: "Attempting to install from a source repository that uses submodules raises a warning. Because the zipped sources provided by GitHub do not include submodules, this may lead to unexpected behaviour or compilation failure in source packages. In this case, cloning the repository manually using install_git with args="--recursive" may yield better results."
However install_git()
also gives me the error:
Error in 'git2r_clone': Unsupported URL protocol
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/
Not certain what the issue is here. install_git worked fine until the move to the git2r library.
My call:
The error:
Not certain what the URL protocol issue is. May be an SSH issue?