BXC (Bendix Carstensen)
2004-Nov-03 22:56 UTC
[R] Building a package under WIN2000 / rw2.0
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 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 bxc at steno.dk www.biostat.ku.dk/~bxc
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 > bxc@steno.dk > www.biostat.ku.dk/~bxc > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html