I want to submit a package to CRAN. In the CRAN repository policy it states that "Packages for which R CMD check gives an ‘ERROR’ when a new R x.y.0 version is released will be archived".
It also says "Please ensure that R CMD check --as-cran has been run on the tarball to be uploaded before submission".
Running R CMD check --as cran
on my tarball gives me the warning:
Warning: unknown option ‘--as-cran’
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?
And why does R CMD check --as-cran
not work for me?
R CMD check --as-cran
doesn't work for you, what do you mean? What error message to you get? – Edmead--as-cran
check, because it was introduced in R 2.14.2 ... – Payola