Skip to content
Prev 284794 / 398502 Next

Version control (git, mercurial) for R packages

On Thu, Feb 9, 2012 at 1:46 AM, Gregory Jefferis <jefferis at gmail.com> wrote:
Thanks for staying on thread :)
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.

 I have also switched to using Hadley Wickham's devtools (+ roxygen
I'll check that out.
Thanks for the suggestions. It occurred to me that I can write a short
script that will copy the package minus the git repository into a
temporary location and check or build it there, but I'll look into
devtools as well.

Peter