error checking for CRAN