I've changed to Mercurial for my working copies of survival for a number or resons not relevant to this post. When I do R CMD check, I get some warnings about certain files in the .hg directory with odd names. I've added the following 2 lines to my .Rbuildignore file without effect ^\.hg$ ^\.hg.* I'm not a Perl user so perhaps I'm reading the help page wrong. Any pointers? This doesn't affect Rforge since I don't push any of those files up to there. Terry T.
On Wed, Oct 27, 2010 at 10:43 PM, Terry Therneau <therneau at mayo.edu> wrote:> ?I've changed to Mercurial for my working copies of survival for a number or resons not relevant to this post. ?When I do R CMD check, I get some warnings > about certain files in the .hg directory with odd names. ?I've added the following 2 lines to my .Rbuildignore file without effect > ^\.hg$ > ^\.hg.* > > I'm not a Perl user so perhaps I'm reading the help page wrong. ?Any pointers? > This doesn't affect Rforge since I don't push any of those files up to there. >.hg files are automatically excluded from the build so if you were to check your built file, i.e. your .tar.gz file, instead then you should not need any .Rbuildignore file in the first place. -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com
> ?I've changed to Mercurial for my working copies of survival for a number or resons not relevant to this post. ?When I do R CMD check, I get some warnings > about certain files in the .hg directory with odd names. ?I've added the following 2 lines to my .Rbuildignore file without effect > ^\.hg$ > ^\.hg.*Unfortunately that only affects building, not checking. You have two options: (1) ignore the warning (2) check the built package. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/