jiesheng zhang <[EMAIL PROTECTED]> writes:

> I found my attachment was discarded.
> My R package structure lis listed here
> -----------------------------
> btRRTest
>       DESCRIPTION
>               Package: btRRTest
>               Version: 0.0.1
>               Date: 2005-10-15
>               Title: a test remote R exeuction
>               Author: [EMAIL PROTECTED]
>               Maintainer: jason zhang<[EMAIL PROTECTED]>
>               Depends: R (>= 1.8.0)
>               Description: the remote execution of R call
>               License: GPL version 2
>               URL: http://www.bioteam.net
>               Built: R 2.1.1; i686-pc-linux-gnu; 2005-09-20 00:07:19; unix

I don't think you want to have a Built: field in a source package.
Apparently, you are getting the package installed as a binary package
even though it isn't.   

>               Packaged: Sat Oct 15 23:42:11 2005; root
>       INDEX
>               btRRTestOut             serialize all
>               btRRTestInt             unserialize all and execute
>       R/btRRTest.R
>               .First.lib <- function (lib, pkg)
>               {
>                   #library.dynam("btRRTest", pkg, lib)
>                   print(c("first.lib", pkg, lib))
>               }
> 
>               btRRTestOut<-function(x)
>               {
>                       #.Call("btRRTestOut", substitute(x), rho=sys.frame(-1), 
> PACKAGE="btRRTest");
>                       print("btRRTestOut");
>               }
> 
>               btRRTestIn<-function()
>               {
>                       #.Call("btRRTestIn",  PACKAGE="btRRTest");
>                       print("btRRTestIn");
>               }
> 
> ----------------------------
> 
> -jason
> 
> 
> jiesheng zhang wrote:
> > My package structure is very simple.
> > I attached it here.
> > Any help is appreciated.
> > -ason
> > 
> > jiesheng zhang wrote:
> >> Hi, all
> >> I am trying to write a R package. I was able to build and install the 
> >> package with no problem.
> >> However, I got this error when I try to load the library by calling 
> >> library("btRRTest");
> >> ------------------error message in loading---------
> >>  > library("btRRTest")
> >> Error in library("btRRTest") : 'btRRTest' is not a valid package -- 
> >> installed < 2.0.0?
> >> ---------------------------------
> >> --------build message-----------
> >> [EMAIL PROTECTED]:~/tmp2> R CMD build --force btRRTest
> >> * checking for file 'btRRTest/DESCRIPTION' ... OK
> >> * preparing 'btRRTest':
> >> * checking DESCRIPTION meta-information ... OK
> >> * cleaning src
> >> * checking whether 'INDEX' is up-to-date ... NO
> >> * overwriting 'INDEX' as '--force' was given
> >> * removing junk files
> >> * checking for LF line-endings in source files
> >> * checking for empty directories
> >> * building 'btRRTest_0.0.1.tar.gz'
> >> ---------------------------------
> >> -------install message-------
> >> jasonportal:/home/jason/tmp2 # R CMD INSTALL btRRTest_0.0.1.tar.gz
> >> * Installing *binary* package 'btRRTest' ...
> >> * DONE (btRRTest)
> >> ----------------------
> >>
> >>
> >> Can anyone tell me what are the possible causes for this error? Where 
> >> should I start to look?
> >>
> >> Thanks
> >>
> >> -jason
> >>
> >> ______________________________________________
> >> 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
> > 
> > ------------------------------------------------------------------------
> > 
> > ______________________________________________
> > 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
> 
> ______________________________________________
> 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
> 

-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
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

Reply via email to