-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
There are issues with the new version. The package cannot link to the library libgit2
Configuration failed to find libgit2 library. Try installing:
* brew: libgit2 (MacOS)
* deb: libgit2-dev (Debian, Ubuntu, etc)
* rpm: libgit2-devel (Fedora, CentOS, RHEL)
and try again.
If the libgit2 library is installed on your system but the git2r
configuration is unable to find it, you can specify the include and
lib path to libgit2 with:
given you downloaded a tar-gz archive:
R CMD INSTALL git2r-.tar.gz --configure-vars='INCLUDE_DIR=/path/to/include LIB_DIR=/path/to/lib'
or cloned the GitHub git2r repository into a directory:
R CMD INSTALL git2r/ --configure-vars='INCLUDE_DIR=/path/to/include LIB_DIR=/path/to/lib'
or download and install git2r in R using
install.packages('git2r', type='source', configure.vars='LIB_DIR=-L/path/to/libs INCLUDE_DIR=-I/path/to/headers')
-----------------------------------------------------------------------
configure: error: in '/tmp/RtmpC68Wst/R.INSTALL2b147178c0db13/git2r':
configure: error: package dependency requirement 'libgit2 >= 1.0' could not be satisfied.
See 'config.log' for more details
ERROR: configuration failed for package ‘git2r’
* removing ‘/home/01481067/R/x86_64-pc-linux-gnu-library/4.4/git2r’
The downloaded source packages are in
‘/tmp/RtmpuVeHGi/downloaded_packages’
Warning message:
In install.packages("git2r") :
installation of package ‘git2r’ had non-zero exit status
Previous version works without problems
remotes::install_version("git2r", "0.33.0")
mstackhouse
Metadata
Metadata
Assignees
Labels
No labels