sergei@stams.strath.ac.uk
2000-Apr-14 12:14 UTC
[Rd] bundle build and Rd2Sd converion fail (PR#519)
Dear R-core, Thank you for your great effort! I am finalising a bundle that works both in R and Splus. But I faced the following minor problems with R CMD under both UNIX and LINUX. 1. R CMD build denies to work with bundles. It reports * checking `DESCRIPTION' package entry ... ERROR: no package entry in `DESCRIPTION' Surely, there is no one, but there is Contains entry. Next, according to R-exts manual, the packages contained in the bundle need not contain DESCRIPTION but DESCRIPTION.in file. So building individual bundle packages with R CMD does not work neither: * checking for `DESCRIPTION' ... ERROR: file `DESCRIPTION' not found This does not prevent from installing the bundle, and surprisingly enough, DESCRIPTION file appears afterwards in all bundle packages! So building individual packages now become available (!?) 2. Writing Rd-documentation is much easier than nroff files. But as the packages are also working in Splus, I need to generate .d-files as well. I tried the command below in R-1.0.0 and development version R-1.1 both under UNIX and LINUX and get the following error: sherna man/ % R CMD Rdconv --type=Sd plot.mefista.Rd > plot.mefista.d Undefined subroutine &main::text2nroff called at /auto/local/pkg/R-1.0.0/instal l.stams/lib/R/etc/Rdconvlib.pl line 1412, <rdfile> chunk 33. It would also be nice just to be able to type R CMD Rd2Sd ;-) Waiting for your reaction. Best wishes, Sergei ================================================================ Dr. Sergei ZUYEV Statistics and Modelling Science dept., University of Strathclyde Livingston Tower, 26 Richmond str., Glasgow, G1 1XH, U.K. Tel.: +44 (0)141 548 3663 Fax: +44 (0)141 552 2079 sergei@stams.strath.ac.uk http://www.stams.strath.ac.uk/~sergei ================================================================ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian Ripley
2000-Apr-14 12:47 UTC
[Rd] bundle build and Rd2Sd converion fail (PR#519)
> From: sergei@stams.strath.ac.uk > Date: Fri, 14 Apr 2000 14:14:29 +0200 (MET DST) > > Dear R-core, > Thank you for your great effort! I am finalising a bundle that works both in > R and Splus. But I faced the following minor problems with R CMD under both > UNIX and LINUX. > 1. R CMD build denies to work with bundles. It reports > * checking `DESCRIPTION' package entry ... ERROR: no package entry in > `DESCRIPTION'Yes, no one said it would work with a bundle, did they? (See R CMD build --help.) You can use it to help check packages within a bundle (you can then ignore that message) and build the bundle by hand. Now people other than me are building bundles, to make it work with bundles is on the TODO list. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Sergei If you just blend together the bundle DESCRIPTION and the DESCRIPTION.in for each package in the bundle, and put this in a DESCRIPTION file in the package, then you can run R CMD build on the package. Here are some lines from my makefile for package dse1 (in bundle dse): cat DESCRIPTION | grep -v Bundle | grep -v Contains \ >dse1/DESCRIPTION cat dse1/DESCRIPTION.in >>dse1/DESCRIPTION After you do this R CMD build works on the package and does all its testing, and produces a tar.gz for each package. You then need to delete these and manually tar and gzip the bundle. Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._