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

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 11 13:51:17 CEST 2011


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