You can install the latest released version of coca from CRAN with
coca
install.packages("coca")
or the development version from GitHub with
library(devtools) install_github("acabassi/coca") library(coca)