Re: [Rd] Re: [R] Building a package under WIN2000 / rw2.0
On Sun, 7 Nov 2004, Uwe Ligges wrote: > BXC (Bendix Carstensen) wrote: > > I have an odd problem in building a package with only R-code in it. > > I have a package mainly used by myself which I last build under R > > 1.9.0. > > The operation system is Win2000 5.00.2195, Service Pack 3 > > > > When I do: > > > > c:\stat\r\rw2000\bin\Rcmd install --docs=normal --build > > --library=c:\stat\R\bxc\library c:\stat\R\bxc\library.sources\xx > > [moved to R-devel] > > Works with forward slashes as follows: > > c:\stat\r\rw2000\bin\Rcmd install --docs=normal --build > --library=c:\stat\R\bxc\library c:/stat/R/bxc/library.sources/xx > > The seems to be related with the more recent threads > "Re: [Rd] wishlist: better error message in R CMD check" > "[Rd] creating a package without lazy loading" > on R-devel. > > I'll try to debug. I have a fix in R-patched for this: it seems highly dependent on the version of the tools in use. For rw2000, do avoid - spaces in the path to the package sources - backslashes in the path to the package sources Both were warned against, of course. -- Brian D. Ripley, [EMAIL PROTECTED] 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 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] Re: [R] Building a package under WIN2000 / rw2.0
BXC (Bendix Carstensen) wrote: I have an odd problem in building a package with only R-code in it. I have a package mainly used by myself which I last build under R 1.9.0. The operation system is Win2000 5.00.2195, Service Pack 3 When I do: c:\stat\r\rw2000\bin\Rcmd install --docs=normal --build --library=c:\stat\R\bxc\library c:\stat\R\bxc\library.sources\xx [moved to R-devel] Works with forward slashes as follows: c:\stat\r\rw2000\bin\Rcmd install --docs=normal --build --library=c:\stat\R\bxc\library c:/stat/R/bxc/library.sources/xx The seems to be related with the more recent threads "Re: [Rd] wishlist: better error message in R CMD check" "[Rd] creating a package without lazy loading" on R-devel. I'll try to debug. Uwe Ligges then after updating help pages I get: preparing package xx for lazy loading Error in tools:::.read_description(file) : file '/DESCRIPTION' does not exist Execution halted make: *** [lazyload] Error 1 *** Installation of xx failed *** (Yes, I have a DESCRIPTION file). Having made a few changes here and there in some of the functions I transferred them one at a time to a new folder and tried to build it there. The probelm seems to be that once I exceed 5 functions in the package the above error appears, with 5 or fewer functions it works OK. Any ideas? Bendix Carstensen -- Bendix Carstensen Senior Statistician Steno Diabetes Center Niels Steensens Vej 2 DK-2820 Gentofte Denmark tel: +45 44 43 87 38 mob: +45 30 75 87 38 fax: +45 44 43 07 06 [EMAIL PROTECTED] www.biostat.ku.dk/~bxc __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel