Skip to content
Stefan Widgren edited this page Feb 9, 2015 · 6 revisions

To install the development version of git2r, it's easiest to use the devtools package. The installation requires a compiler to compile the C code in the package. On Windows the RTools distribution includes all neccessary tools.

If not already installed, install the devtools package

install.packages("devtools")

Then install the git2r package

library(devtools)
install_github("git2r", "ropensci")

It is also possible to clone the git2r repository from GitHub and install the package from the command line

git clone https://github.com/ropensci/git2r.git
R CMD INSTALL git2r

Or

git clone https://github.com/ropensci/git2r.git
cd git2r
make install
Clone this wiki locally