Re: [R] Package Building and Name Space

2008-01-23 Thread Johannes Graumann
Hello, I don't think package gsubfn which is supposed to provide function 'strapply' is the culprit (just yet). The error message was that my own new package has no name space and isn't in the search path (the second is possibly easily explained by the fact that it's supposed to be installed after

Re: [R] Package Building and Name Space

2008-01-23 Thread MichaƂ Bojanowski
Hi Johannes, Apparently the package 'strapply' does not have the namespace, so you cannot use importFrom directive to import gsubfn() from it. In that case, I believe, you need to rely on the "old" mechanism using require(). Apart from that, it also seems that 'strapply' package is not even in th

[R] Package Building and Name Space

2008-01-23 Thread Johannes Graumann
Hello, I just don't get this and would appreciate if someone could write a line or two: I'm trying to build this package and it stops installing after I add the following to the NAMESPACES file: >importFrom(gsubfn,strapply) The error during the package test is: Error in MyPackage::MyFunction :