[Rd] Package Building and Name Space
Duncan Murdoch
murdoch at stats.uwo.ca
Wed Jan 23 17:25:38 CET 2008
On 1/23/2008 11:11 AM, Johannes Graumann wrote:
> ... sorry for reposting this in a more appropriate forum than r.general ...
>
> 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 :
> package 'MyPackage' has no name space and is not on the search path
> Calls: <Anonymous> ... <Anonymous> -> switch -> sys.source -> eval ->
> eval -> ::
> Execution halted
>
> 'MyFunction' contains 'strapply' from gsubfn.
>
> Please tell me where I err.
The file is called NAMESPACE, not NAMESPACES.
Duncan Murdoch
More information about the R-devel
mailing list