[R] R CMD build not excluding .svn

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Oct 1 15:52:37 CEST 2007


It does this via an exclude list which it uses to remove files from a 
staged build.  Printing out the exclude list (at ca line 232) should be 
informative. One possibility is simply that there is a permissions issue 
in deleting that directory.

On Sun, 30 Sep 2007, Michael Lawrence wrote:

> Hi,
>
> In my package RGtk2, there's a directory called 'src/RGtk2' that contains,
> like all the other directories in the package, a '.svn' directory. It seems
> that R CMD build is somehow missing that one '.svn' in 'src/RGtk2', even
> though it excludes all the other instances of '.svn'.
>
> I've tried putting 'src/RGtk2/.svn' into the .Rbuildignore, but it does not
> have any effect. I've also looked into the R CMD build script, but I can't
> find where this problem might occur (but then again, perl is not exactly my
> thing). Perhaps it has something to do with having a directory with the same
> name as the package under the 'src' directory?

Pretty unlikely.


> Thanks for the help,
> Michael
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
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-help mailing list