Skip to content
Back to formatted view

Raw Message

Message-ID: <CABdHhvHK4vDKB+Nt05eoMtEeYUzSTSNOD63qgAEfftYgo00g-w@mail.gmail.com>
Date: 2012-02-09T18:23:48Z
From: Hadley Wickham
Subject: Version control (git, mercurial) for R packages
In-Reply-To: <CA+hbrhXVAb=FfgEf1zPak9aCqd-rvQ=kTMvOunWJbheL9t8sVQ@mail.gmail.com>

> Same warning here. Which made me think that R CMD build will probably
> tar up the git repository along with the package, which is not
> something I would like to do, and which CRAN people most likely won't
> tolerate in a package on CRAN.

It doesn't.  And you can always use .Rbuildignore to ignore other files.

> ?I have also switched to using Hadley Wickham's devtools (+ roxygen
>> for docs). Both highly recommended. devtools can build a package and check
>> it in a temporary location ? this is safer than checking in place and avoids
>> that warning.
>
> I'll check that out.

Yes, I strongly advise building and checking, or building or
installing.  From what I can tell, this is what R-core does, and it
makes life much easier.

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/