You can use the following packages:
git2r
, R bindings to the libgit2 library, to interact with git repos.
the more specific gitsum
package parses and summarises git repository history.
gh
is a minimalistic GitHub API V3 client
ghql
, general purpose GraphQL R client, allows to write a client to Github API V4 (with examples in the docs).
Install using install_github within Hadley's devtools package.
install.packages("devtools")
require(devtools)
install_github("gitr", "ropensci")
require(gitr)
git & github from R
A similar project from AT&T folks called rgithub here
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.