Just a toy model package in R, to learn how to create a package and install it,
In order to install the model, you should have the package devtools installed. Then, just type in:
library("devtools")
install_github("joaopcnogueira/cats")
reference: https://hilaryparker.com/2014/04/29/writing-an-r-package-from-scratch/