Message-ID: <CAO1zAVbb0x2aqoKoCjLCpWeqKBgxZXmj-YievNm2jm-=+tXYZA@mail.gmail.com>
Date: 2018-12-06T15:12:12Z
From: Joris Meys
Subject: Dealing with .git folder when using R CMD INSTALL
In-Reply-To: <03bff17f-0f25-57e1-61da-1a2235da978b@daqana.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]]