Installation
First, you need to install the devtools package. You can do this from CRAN. Invoke R and then type
install.packages("devtools")
Load the devtools package.
library(devtools)
Install the package
install_github("blongworth/clivartools")
A recent version of devtools should grab the amstools package, but if not:
install_github("blongworth/amstools")