checked and updated documentation for push to CRAN