-
Notifications
You must be signed in to change notification settings - Fork 60
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
cannot install git2r on macos Sierra through install.packages("git2r") #259
Comments
|
but I tried installing ggplot2 through install.packages("ggplot2"), it worked. So I do not think this is a Mac OS system compatibility problem. |
The manual indicates: "SystemRequirements: zlib headers and library. OpenSSL headers and library. LibSSH2 (optional on non-Windows) to enable the SSH transport." https://cran.r-project.org/web/packages/git2r/index.html Are you perhaps missing zlib? |
Hi,
|
Could you please try to install the binary format of git2r from CRAN. |
Hi, I just did. No effect. I get this error below. It has to do with the fact that R can't seem to find zlib... But than I don't understand what I should fill in in "INCLUDE_PATH" or how to find zlib even on Mac OS X Sierra. Thanks! Sander
|
According to the manual of
However, the package will be built for OSX Mavericks and you are using OSX Sierra; so I don't know if that will work. |
Thank you for this comment! On a new mac without the full developer setup, this command lets you install
Also works great on OSX Sierra. |
maybe this will help: https://anaconda.org/r/r-git2r |
Was wondering if any of these solutions (or that mentioned by IRkernel/IRkernel#542) worked for R version 3.5.0? I've tried installing devtools or git2r by The error message I receive for installing git2r (either by
So looks like version R 3.5.0 is not yet compatible? Any thoughts for work arounds for this? |
You are mis-specifying 'el-capitan' as 'elcapitan'. Also, I could not resolve the host: "cran.revolution..." that you are using so you could try the r-studio host below:
Also, for future readers of this thread you can find the appropriate name of the binaries for various versions of OSX in the manual for |
Thanks @trosendal, that worked. |
I am on high sierra 10.13.4. It does not work,some methods say R 3.5.1 is not supported others just say libgit2 is to blame, which is funny because git2r is needed for devtools, which is needed for tensorflow on R in mac. So no tensorflow on R in mac Sierra as of Sep 2018. |
@devssh tensorflow does not depend on git2r |
I was facing the same issue while trying to install devtools. I am on High Sierra Version 10.13.6. The below steps led to successful installation of devtools. install.packages("git2r", install.packages("devtools") Hopefully this will help others facing this problem. |
@stewid I am using https://github.com/rstudio/tensorflow which is using |
@devssh does it work to install git2r using
|
Hi, I tried the command and it failed
How do I check this
|
@devssh It's not clear if you tried the suggestion by @souravbhabesh to install from the binary. |
Hi @trosendal I tried the following as suggested by @souravbhabesh
and then when I do
Rstudio crashes and restarts Also there is no binary for sierra.
@souravbhabesh you said you were on high sierra? Which version of R are you using? How did you check that it works? Its interesting to note that |
brew install libgit2 |
I've tried install lbgit2, zlib, openssl, devtools and cannot seem to get git2r version 0.23.0 installed on monterey intel chip or M1 :-( |
The text was updated successfully, but these errors were encountered: