doc updates and passed CRAN check with no warnings