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

From: Søren Højsgaard <Soren.Hojsgaard_at_agrsci.dk>
Date: Fri 01 Sep 2006 - 09:19:00 GMT


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?
Thanks
Søren  

        [[alternative HTML version deleted]]



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 and provide commented, minimal, self-contained, reproducible code. Received on Sat Sep 02 08:47:45 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 07:51:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.