Package check using --as-cran
On 02.01.2013 11:58, Marc Girondot wrote:
I use R 2.15.2 on MacosX 10.8.2
I have a problem checking for a package that I want to submit in CRAN.
When I check like that, no problem or warning are detected.
system("R CMD check '[path]/phenology'")
I create the .tar.gz package with that. The file phenology_3.43.tar.gz
is generated. I can install the package and it works.
system("R CMD build '[path]/phenology'")
But if I check it using --as-cran as required by CRAN policy,
system("R CMD check '[path]/phenology_3.43.tar.gz' --as-cran")
I get an error:
* using log directory ?[path]/Phenology Package/phenology.Rcheck?
* using R version 2.15.2 (2012-10-26)
* using platform: i386-apple-darwin9.8.0 (32-bit)
* using session charset: UTF-8
* checking for file ?phenology/DESCRIPTION? ... OK
* checking extension type ... Package
* this is package ?phenology? version ?3.43?
* checking CRAN incoming feasibility ... OK
Maintainer: ?Marc Girondot <marc.girondot at u-psud.fr>?
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking whether package ?phenology? can be installed ... ERROR
Installation failed.
See ?[path]/phenology.Rcheck/00install.out? for details.
The file 00install.out has no more information, it is just a copy of
these informations.
I would like to know if there is a "verbose" version of the check.
Well, the "verbos"e part is in file [path]/phenology.Rcheck/00install.out as the ERROR message told you. Best, Uwe Ligges
Thanks a lot Marc Girondot