R submit to CRAN: which R version to build package? <p>I want to submit a package to CRAN. In the <a href="http://cran.r-project.org/web/packages/policies.html" rel="nofollow">CRAN repository policy</a> it states that <strong>"Packages for which R CMD check gives an ‘ERROR’ when a new R x.y.0 version is released will be archived"</strong>.</p> <p>It also says <strong>"Please ensure that R CMD check --as-cran has been run on the tarball to be uploaded before submission"</strong>.</p> <p>Running <code>R CMD check --as cran</code> on my tarball gives me the warning:</p> <pre><code>Warning: unknown option ‘--as-cran’ </code></pre> <p>I am running R version 2.14.1 on Ubuntu 12.04.2 LTS. Can I build a source package using this version or do I have to use R 3.0?</p> <p>And why does <code>R CMD check --as-cran</code> not work for me?</p>