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

Stefan McKinnon Høj-Edwards Stefan.Hoj-Edwards at agrsci.dk
Mon May 16 12:39:20 CEST 2011


Hello Duncan,

This is what I get:
C:\Users\STME\Documents\R\win-library\2.13\AnnotationFuncs>du -k
209     ./doc
24      ./help
8       ./html
9       ./Meta
10      ./R
279     .

Kind regards,

Stefan McKinnon Høj-Edwards     Dept. of Genetics and Biotechnology
PhD student                     Faculty of Agricultural Sciences
stefan.hoj-edwards at agrsci.dk    Aarhus University
Tel.: +45 8999 1291             Blichers Allé 20, Postboks 50
Web: www.iysik.com              DK-8830 Tjele
                                Tel.: +45 8999 1900
                                Web: www.agrsci.au.dk



-----Oprindelig meddelelse-----
Fra: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] 
Sendt: 12. maj 2011 14:11
Til: Stefan McKinnon Høj-Edwards
Cc: Prof Brian Ripley; r-devel at r-project.org
Emne: Re: [Rd] RCMD check fails on "checkin installed package size"

On 11/05/2011 8:07 AM, Stefan McKinnon Høj-Edwards wrote:
> 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.

R CMD check will try to run "du -k" while the current directory is the 
one where it just installed the package during the check.  If you do 
that from the command line, (i.e. install AnnotationFuncs, switch to 
RHOME/library/AnnotationFuncs, and run "du -k") what do you see as output?

Duncan Murdoch
> 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
> >
>



More information about the R-devel mailing list