[R] Package check using --as-cran

Marc Girondot marc_grt at yahoo.fr
Wed Jan 2 11:58:40 CET 2013


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.

Thanks a lot

Marc Girondot


-- 
__________________________________________________________
Marc Girondot, Pr

Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Paris-Sud 11 , UMR 8079
Bâtiment 362
91405 Orsay Cedex, France

Tel:  33 1 (0)1.69.15.72.30   Fax: 33 1 (0)1.69.15.73.53
e-mail: marc.girondot at u-psud.fr
Web: http://www.ese.u-psud.fr/epc/conservation/Marc.html
Skype: girondot




More information about the R-help mailing list