Example R package for STAT585X