From jori@mey@ @ending from gm@il@com  Thu Dec  6 16:12:12 2018
From: jori@mey@ @ending from gm@il@com (Joris Meys)
Date: Thu, 6 Dec 2018 16:12:12 +0100
Subject: [Rd] Dealing with .git folder when using R CMD INSTALL
In-Reply-To: <03bff17f-0f25-57e1-61da-1a2235da978b@daqana.com>
References: <CAO1zAVam+3Urckfga-OTSp7Fci9nCgfbD5CdNqyyJn_aoSfdVQ@mail.gmail.com>
 <03bff17f-0f25-57e1-61da-1a2235da978b@daqana.com>
Message-ID: <CAO1zAVbb0x2aqoKoCjLCpWeqKBgxZXmj-YievNm2jm-=+tXYZA@mail.gmail.com>

On Thu, 6 Dec 2018, 16:04 Ralf Stubner <ralf.stubner at daqana.com wrote:

> On 06.12.18 15:19, Joris Meys wrote:
> > I know this R CMD build ignores these files and folders by default, but R
> > CMD INSTALL doesn't apparently.
>
> to me this is not apparent. I just tried "R CMD INSTALL ." in a package
> directory with a .git directory. This went without any problems. What do
> you observe?
>

When running BiocCheck, I get complaints about file sizes in the .git
folder. Checking the code I have noticed it uses R CMD INSTALL on the pkg
directory. As .Rbuildignore is afaik not taken into account by INSTALL, I
reckoned somewhere in the process R CMD INSTALL drags the .git folder along.

I might have been too quick with my assessment, I will dig a bit deeper
tonight

Cheers
Joris

>
> cheerio
> ralf
>
> --
> Ralf Stubner
> Senior Software Engineer / Trainer
>
> daqana GmbH
> Dortustra?e 48
> 14467 Potsdam
>
> T: +49 331 23 61 93 11
> F: +49 331 23 61 93 90
> M: +49 162 20 91 196
> Mail: ralf.stubner at daqana.com
>
> Sitz: Potsdam
> Register: AG Potsdam HRB 27966
> Ust.-IdNr.: DE300072622
> Gesch?ftsf?hrer: Dr.-Ing. Stefan Knirsch, Prof. Dr. Dr. Karl-Kuno Kunze
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

	[[alternative HTML version deleted]]



[Rd] Dealing with .git folder when using R CMD INSTALL
Joris Meys