eliminate warnings and notes from R CMD check