It worked! Many-many thanks! On Wed, Feb 16, 2011 at 11:49 AM, Uwe Ligges-3 [via R] < ml-node+3309233-468204624-213...@n4.nabble.com> wrote:
> > > On 15.02.2011 19:20, ycherkas wrote: > > > > Hi, > > I have a package I was previously able to compile and use for R 2.6. > > In the newer versions of R it did not work, so I am making it from > scratch > > using Rtools and new R version. > > Looks like you have designed "mypack" in a way that it is supposed to > run only under the Windows GUI version of R, since there is a call to > winMenuAdd() > in the startup code. > > In that case the load check does not work and you have to disable it and > build the binary via > > R CMD INSTALL --build --no-test-load > > > Best, > Uwe Ligges > > > > > > > However, I keep getting error after Rcmd build âbinary mypack > > > > Here is the complete log: > > * checking for file âmypack/DESCRIPTIONâ ⦠OK > > * preparing âmypackâ: > > * checking DESCRIPTION meta-information ⦠OK > > * removing junk files > > * checking for LF line-endings in source and make files > > * checking for empty or unneeded directories > > * building binary distribution > > * installing *source* package âmypackâ ⦠> > ** R > > ** preparing package for lazy loading > > ** help > > Warning: ./man/mypack-package.Rd:34: All text must be in a section > > Warning: ./man/mypack-package.Rd:35: All text must be in a section > > *** installing help indices > > ** building package indices ⦠> > ** testing if installed package can be loaded > > gdata: read.xls support for âXLSâ (Excel 97-2004) files ENABLED. > > > > gdata: Unable to load perl libaries needed by read.xls() > > gdata: to support âXLSXâ (Excel 2007+) files. > > > > gdata: Run the function âinstallXLSXsupport()â > > gdata: to automatically download and install the perl > > gdata: libaries needed to support Excel XLS and XLSX formats. > > Error in winMenuAdd(menuname, NULL, NULL) : > > Menu functions can only be used in the GUI > > ERROR: loading failed > > * removing âC:/DOCUME~1/â¦/mypackâ > > ERROR > > * installation failed > > > > > > Thank you, > > Zhenya > > > > ______________________________________________ > [hidden email] <http://user/SendEmail.jtp?type=node&node=3309233&i=0>mailing > list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://r.789695.n4.nabble.com/R-package-error-tp3307320p3309233.html > To unsubscribe from R package error, click > here<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3307320&code=eWNoZXJrYXNAZ21haWwuY29tfDMzMDczMjB8LTEzOTQwOTc1NDM=>. > > -- View this message in context: http://r.789695.n4.nabble.com/R-package-error-tp3307320p3309274.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.