From Stefan.Hoj-Edwards at agrsci.dk  Wed May 11 14:07:26 2011
From: Stefan.Hoj-Edwards at agrsci.dk (=?iso-8859-1?Q?Stefan_McKinnon_H=F8j-Edwards?=)
Date: Wed, 11 May 2011 14:07:26 +0200
Subject: [Rd] RCMD check fails on "checkin installed package size"
In-Reply-To: <alpine.LFD.2.02.1105111247140.8673@toucan.stats.ox.ac.uk>
References: <1C56F3EE22DF4F458FE02F58B96D4150555EA9F89B@DJFEXMBX01.djf.agrsci.dk>
	<alpine.LFD.2.02.1105111247140.8673@toucan.stats.ox.ac.uk>
Message-ID: <1C56F3EE22DF4F458FE02F58B96D4150555EA9F8A3@DJFEXMBX01.djf.agrsci.dk>

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



[Rd] RCMD check fails on "checkin installed package size"
=?iso-8859-1?Q?Stefan_McKinnon_H=F8j-Edwards?=