changes required by CRAN's R CMD check for R 3.0.2