From ripley at stats.ox.ac.uk  Wed May 11 13:51:17 2011
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 11 May 2011 12:51:17 +0100 (BST)
Subject: [Rd] RCMD check fails on "checkin installed package size"
In-Reply-To: <1C56F3EE22DF4F458FE02F58B96D4150555EA9F89B@DJFEXMBX01.djf.agrsci.dk>
References: <1C56F3EE22DF4F458FE02F58B96D4150555EA9F89B@DJFEXMBX01.djf.agrsci.dk>
Message-ID: <alpine.LFD.2.02.1105111247140.8673@toucan.stats.ox.ac.uk>

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


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