Note (2020-06-14): quite outdated now.
This is pretty easy now with roxygen2
. If you change any documentation, run
devtools::document()
Make sure to include the --as-cran
option in the package check procedure.
Commit and push to GitHub, restart your R session then
devtools::install_github(repo="homerhanumat/tigerstats")
Note: I have some big files now, so when I add a new one over 10Kb I should run:
tools::resaveRdaFiles("tigerstats/data",compress="auto")
This required me to add R(>2.10) to the depends field in the DESCRIPTION file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.