[R] Checking a package: "Foreign function calls without 'PACKAGE' argument:" - what must I do??

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Sep 1 11:30:44 CEST 2006


Søren Højsgaard <Soren.Hojsgaard at agrsci.dk> writes:

> In the process of checking a package, I get the warning
>  
> Foreign function calls without 'PACKAGE' argument:
> .Call("tr", ...)
> .Call("trProd", ...)
> See section 'System and foreign language interfaces' of the 'Writing R..
>  
> These functions are called using the wrappers
> 
> trX <- function(x, package="gRcox") {  .Call("tr", x, package="gRcox") }
> trXY <- function(x, y, package="gRcox") {  .Call("trProd", x, y, package="gRcox") }
>  
> I can't figure out what I am supposed to - and reading the specific section of "writing R extensions.." does not help me. 
>  
> Can anyone help?

Get rid of old DOS habit, and realize that R is case-sensitive....

-- 
   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
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list