From jmacdon at med.umich.edu  Wed Jan 23 20:56:21 2008
From: jmacdon at med.umich.edu (James W. MacDonald)
Date: Wed, 23 Jan 2008 14:56:21 -0500
Subject: [Rd] Package Building and Name Space
In-Reply-To: <47976A82.2060404@stats.uwo.ca>
References: <fn7ov3$2d6$1@ger.gmane.org> <47976A82.2060404@stats.uwo.ca>
Message-ID: <47979BE5.6020902@med.umich.edu>



Duncan Murdoch wrote:
> 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.

Plus gsubfn doesn't have a NAMESPACE, so I don't think this will work 
anyway.

Best,

Jim


-- 
James W. MacDonald, M.S.
Biostatistician
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623



[Rd] Package Building and Name Space
James W. MacDonald