update Rd files, correct errors to pass R CMD check