By any chance is there a skeleton package to use as a template to develop an R package? I downloaded "Writing R Extensions", which was evidently updated pretty recently, but I did not see any references (and of course I may have totally missed it) to a package template to use as a go by. Does such a skeleton package exist? Thanks again for all your help, as I've got the code, but I just need to stick it into an R package. Thanks again.
Try: ?package.skeleton ?prompt On Sat, Jul 4, 2009 at 10:59 AM, Jason Rupert<jasonkrupert at yahoo.com> wrote:> > By any chance is there a skeleton package to use as a template to develop an R package? > > I downloaded "Writing R Extensions", which was evidently updated pretty recently, but I did not see any references (and of course I may have totally missed it) to a package template to use as a go by. > > Does such a skeleton package exist? > > Thanks again for all your help, as I've got the code, but I just need to stick it into an R package. > > Thanks again. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Also make sure to check roxygen (from roxygen.org) - it makes package documentation much much easier. Ironically, the documentation for roxygen currently leaves something to be desired but I think Peter and Manuel are working on it. Hadley On Sat, Jul 4, 2009 at 3:59 PM, Jason Rupert<jasonkrupert at yahoo.com> wrote:> > By any chance is there a skeleton package to use as a template to develop an R package? > > I downloaded "Writing R Extensions", which was evidently updated pretty recently, but I did not see any references (and of course I may have totally missed it) to a package template to use as a go by. > > Does such a skeleton package exist? > > Thanks again for all your help, as I've got the code, but I just need to stick it into an R package. > > Thanks again. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- http://had.co.nz/