[Rd] RCMD check fails on "checkin installed package size"

Stefan McKinnon Høj-Edwards Stefan.Hoj-Edwards at agrsci.dk
Wed May 11 14:07:26 CEST 2011


Thanks. It worked.
I added the line "_R_CHECK_PKG_SIZES_=no" to /etc/Rcmd_environ (I am the only user of this computer).

Regarding the 'du' executable, it is found in the first directory in the PATH environment variable and came with Rtools for R 2.13.

Kind regards,
Stefan McKinnon Høj-Edwards
PhD student
Dept. of Genetics and Biotechnology
Faculty of Agricultural Sciences
Aarhus University
Blichers Allé 20, Postboks 50
DK-8830 Tjele

Tel.: +45 8999 1291
Email: stefanm.edwards at agrsci.dk

Tel.: +45 8999 1900
Web: www.agrsci.au.dk




-----Oprindelig meddelelse-----
Fra: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Sendt: 11. maj 2011 13:51
Til: Stefan McKinnon Høj-Edwards
Cc: r-devel at r-project.org
Emne: Re: [Rd] RCMD check fails on "checkin installed package size"

On Wed, 11 May 2011, Stefan McKinnon Høj-Edwards wrote:

> Hi,
>
> When I run RCMD check on my package, I receive the following error:
> C:\R-packages\AnnotationFuncs>RCMD check --no-vignettes AnnotationFuncs
> * using log directory 'C:/R-packages/AnnotationFuncs/AnnotationFuncs.Rcheck'
> * using R version 2.13.0 (2011-04-13)
> * using platform: i386-pc-mingw32 (32-bit)
> * using session charset: ISO8859-1
> * using option '--no-vignettes'
> * checking for file 'AnnotationFuncs/DESCRIPTION' ... OK
> * this is package 'AnnotationFuncs' version '1.1.2'
> * checking package name space information ... OK
> * checking package dependencies ... OK
> * checking if this is a source package ... OK
> * checking for executable files ... OK
> * checking whether package 'AnnotationFuncs' can be installed ... OK
> * checking installed package size ...Error in if (total > 1024 * 5) { : missing
> value where TRUE/FALSE needed
> Execution halted
>
>
> I am running it on Windows 7 (32-bit) and my PATH environment variable starts with this:
> C:\Rtools\bin;C:\Rtools\MinGW\bin;C:\Program Files\R\R-2.13.0\bin\i386;
>
> I have updated Rtools to the newest with 2.13.
>
> Any suggestions?

Set _R_CHECK_PKG_SIZES_ to 'no' (see 'Writing R Extensions' and its 
references on customizing R CMD check), or correct your paths so the 
'du' program in Rtools is the one that is found.  (The only reported 
example was from using a different 'du' program.)

I believe that current R-patched works around this: R-devel definitely 
does.

>
> Thanks in advanced,
> Stefan McKinnon Høj-Edwards
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list