edits for submission to CRAN