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...) best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics BlindGlobe Networks (home/default) rossini@blindglobe.net UW Biostat/Center for AIDS Research rossini@u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini@scharp.org FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy CFAR: W/F: 206-731-3647 (fax=3694) | Email is far better than phone UW: Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "AJR" == A J Rossini <rossini@blindglobe.net> writes:AJR> - provide a script for AJR> regenerating INDEX by calling out to the shell I meant by this, an Emacs function, i.e. M-x ess-regen-INDEX which runs the appropriate R CMD script. -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics BlindGlobe Networks (home/default) rossini@blindglobe.net UW Biostat/Center for AIDS Research rossini@u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini@scharp.org FHCRC: M/Tu: 206-667-7025 (fax=4812) | Voicemail is pretty sketchy CFAR: W/F: 206-731-3647 (fax=3694) | Email is far better than phone UW: Th/F: 206-543-1044 (fax=3286) | Change last 4 digits of phone for fax -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 you? 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> From: murdoch@stats.uwo.ca (Duncan Murdoch) > Date: Wed, 18 Oct 2000 09:57:20 -0400 > > For people like me who mainly use Windows, the package documentation > is rather intimidating. It's not clear which parts of it work and > which don't, or what tools beyond base R I need to build a package > entirely within Windows (or if that is even possible). > > A wizard would be helpful, but it's a lot of work for relatively few > people to use. An easier solution would be a short document listing > all the steps necessary to build a package in Windows, including at > least pointers to the document of all the tools that should be > installed first. > > This should probably contain two sections: building a package that's > intended to be portable to other systems,That is in `Writing R Extensions'. Building it is exactly the same as on Unix, but checking is not quite.> and building one that's > going to be packaged in a .zip file for Windows-only use. > > If someone wants to volunteer to answer questions when I get stuck, > I'll volunteer to produce the document.Um. I've already written one, called readme.packages in rw1011sp.zip. It does have a list a tools to install first (and a reference to an on-line portal for the current versions). If you really think that is inadequate (and it seems to have sufficed for those who can follow instructions) please at least start from what is there. The mechanics will change with R 1.2.0. If you want to see where this is going, take a look at the pre-release at http://www.stats.ox.ac.uk/pub/bdr/RWin/Rpre and especially the revised `Writing R Extensions' manual there. The Windows and Unix procedures have become much closer. Now don't go and tell me I have wasted my time on making all these tools available on Windows too, as well as writing manuals no one wanted/noticed! -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._