From ripley at stats.ox.ac.uk  Tue Nov 18 14:00:50 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 18 Nov 2008 13:00:50 +0000 (GMT)
Subject: [Rd] checking for executable files ... WARNING
In-Reply-To: <f8e6ff050811180457t1dd5546dle8900616d7d37137@mail.gmail.com>
References: <f8e6ff050811171724q44699b0djc3b79e50429aaf91@mail.gmail.com>
	<alpine.LFD.2.00.0811180729210.4042@gannet.stats.ox.ac.uk>
	<f8e6ff050811180457t1dd5546dle8900616d7d37137@mail.gmail.com>
Message-ID: <alpine.LFD.2.00.0811181300070.18024@gannet.stats.ox.ac.uk>

On Tue, 18 Nov 2008, hadley wickham wrote:

> On Tue, Nov 18, 2008 at 1:31 AM, Prof Brian Ripley
> <ripley at stats.ox.ac.uk> wrote:
>> On Mon, 17 Nov 2008, hadley wickham wrote:
>>
>>> In R 2.8. I get the following warning when checking my package:
>>>
>>> * checking for executable files ... WARNING
>>> Found the following executable file(s):
>>>  .git/objects/00/12947a4bb4379fb0c3bed740314a9f4ac72331
>>>  .git/objects/00/21fac22a57a1567389ed34a9dc4f465c6cfd01
>>>  .git/objects/00/29da5c289489fdb2249e19f4b165ff5b37b3e6
>>>  .git/objects/00/36ad7f586eeac250e6609a1bf938e545101cb0
>>> ... (for about 300 lines)
>>>
>>> I've tried putting .git in my .Rbuildignore, but this doesn't help the
>>> problem.  Any ideas?
>>
>> Does 'R CMD build' a tarball and then 'R CMD check' not solve this?
>> 'build' skips git files, and you only need to worry about executables in a
>> tarball you ship.
>
> Is this suggested best practice now?

Always was, AFAIK.

>
> Hadley
>
> -- 
> http://had.co.nz/
>

-- 
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] checking for executable files ... WARNING
Prof Brian Ripley