[R] Version control (git, mercurial) for R packages

Hadley Wickham hadley at rice.edu
Thu Feb 9 19:23:48 CET 2012


> 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/



More information about the R-help mailing list