#!/usr/bin/env Rscript
info<-function(...)
{
message(sprintf("[%s] %s", Sys.time(), paste(..., collapse=" ") ))
}
library(devtools)
info("Building readme")
build_readme()
info("Converting Roxygen files")
document()
info("Build pkgdown site")
pkgdown::build_site()
info("Done")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.