问题
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?
回答1:
Yes. By using win builder
http://win-builder.r-project.org/upload.aspx
You just have to upload your source files and you will get the results in email within 5-10 minutes.
Note: Don't forget to mention your email in maintainer field
来源:https://stackoverflow.com/questions/20021791/cran-package-check-finds-warning-that-r-cmd-check-as-cran-doesnt