inst/conf/build.R

# install.packages("devtools")
#devtools::install_github("hadley/staticdocs")

library(staticdocs)
build_site(pkg = "~/Dropbox/public/github_params", "../github_paramspages")

# stuff for MAC ONLY
if(Sys.info()['sysname'] == "Darwin"){
  setwd("~/Dropbox/public/github_paramspages/")
  system("git commit -a -m 'update website'")
  system("git push")
}

Try the params package in your browser

Any scripts or data that you put into this service are public.

params documentation built on March 2, 2021, 1:07 a.m.