problem with R CMD CHECK