Corrected the cran check warnings