cats package in R