Passes cran checks

Package passes the cran checks. yay!