Fix R CMD check warnings in 3.02