Fixing Problems with R CMD check