#
# script used to generate html docs using pkgdown
#
if (!require(pkgdown)) {
if(!require(devtools)){
install.packages("devtools",
dependencies=TRUE,
repos="http://cran.us.r-project.org")
}
library("devtools")
devtools::install_github('hadley/pkgdown')
# needed too
install.packages('rjson')
}
pkgdown::build_site()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.