CRAN package check finds warning that R CMD check --as-cran doesn't

耗尽温柔 提交于 2019-12-24 02:45:44

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!