I recently submitted a package to CRAN and received the following errors.
WARNING: ignoring environment value of R_HOME
checking for code which exercises the package ... WARNING No examples, no tests, no vignettes
I ran R CMD check --as-cran using R 3.0.2 on OSX and the only note reported was 'New submission'. No warnings were reported.
Is there an alternate way to run all of the tests that CRAN will run on a package before submitting it?
R CMD check
and what CRAN does with a submittal. However, those warnings clearly point out that your package is missing certain common items ('examples' etc) which are not strictly required of a package. – Soilasoilage