Minimal git client for R
Branch: master
Clone or download
Latest commit 3c9a3da Feb 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Revert "Safer version of looking up default user" Feb 14, 2019
man show config levels Feb 14, 2019
src show config levels Feb 14, 2019
tests Add and remove remotes Feb 12, 2019
tools
.Rbuildignore
.gitignore
.travis.yml Test static on current homebrew Feb 11, 2019
DESCRIPTION Bump credentails version requirement Feb 14, 2019
LICENSE
NAMESPACE show config levels Feb 14, 2019
README.md Trigger build with new PPA builds Feb 11, 2019
appveyor.yml First commit Oct 19, 2018
configure
gert.Rproj First pass at authentication stuff Oct 21, 2018

README.md

gert

Minimal Git Client for R

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status AppVeyor Build Status CRAN_Status_Badge

Installation

To install the development version:

remotes::install_github("r-lib/gert")

On Linux you need somewhat recent version of libgit2:

For Ubuntu Trusty, Xenial, and Bionic, you can use libgit2 backports from this ppa:

sudo add-apt-repository ppa:opencpu/libgit2
sudo apt-get update
sudo apt-get install libgit2-dev

It is still possible to install the package with older versions of libgit2 (e.g. on CentOS) however these do not support authentication over ssh/https remotes. Offline functionality should work fine.

Example

This is a basic example:

library(gert)
path <- file.path(tempdir(), "ggplot2")
repo <- git_clone("https://github.com/hadley/ggplot2", path)
print(repo)