[Rd] "wizard" for building R-packages...

Prof Brian Ripley ripley@stats.ox.ac.uk
Tue, 17 Oct 2000 17:38:25 +0100 (BST)

On 17 Oct 2000, A.J. Rossini wrote:

> Suppose one wanted to build an R wizard for packaging...
> One would need to specify and create:
>         package-name/
>         package-name/Description
>         package-name/INDEX
>         package-name/R/
>         package-name/man/
>         package-name/src/
> >From this, we'd "probably" like to:
> - script-up the Description
> - provide a script for regenerating INDEX by calling out to the shell
> - provide a dummy/sample package-name/R/zzz.R file with a .First.lib()
> - ??
> thoughts?  (Sometimes, spending serious time with JDE suggests definite
> improvements...)

I'm a bit lost: you of all people don't really want a Windows wizard do

Given how much R CMD check and R CMD build will do for you, about all I
can see that one could usefully add is a template for DESCRIPTION (and
it is all u/case).  Well, one could get prompt() to generate templates
for allthe undocumented R objects, but then people would forget to
complete them....

Just how much time do people spend packaging new packages anyway?
I probably have as many on CRAN as anyone else, and I do this rarely.
Checking them is another matter!

Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch