knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of add2gh is to use GitHub API with R. If you use Gitlab, use add2gl.
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("JiaxiangBU/add2gh")
library(add2gh)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.