preparing for R CMD CHECK