[R] Package check using --as-cran
Marc Girondot
marc_grt at yahoo.fr
Wed Jan 2 17:28:04 CET 2013
Le 02/01/13 16:03, Uwe Ligges a écrit :
>
>
> 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... I had read this file but then the "verbose" message is obscure !
Any idea ?
Thanks
Marc
* installing *source* package ‘phenology’ ...
** R
** data
** moving datasets to lazyload DB
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
sh: de: command not found
*** arch - x86_64
sh: de: command not found
ERREUR : loading failed for ‘i386’, ‘x86_64’
* removing ‘/Users/marcgirondot/Documents/Espace de travail
R/Phenology/Source fit/Phenology Package/phenology.Rcheck/phenology’
--
__________________________________________________________
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