From spencer.graves at pdf.com  Tue Dec 16 18:00:24 2008
From: spencer.graves at pdf.com (Spencer Graves)
Date: Tue, 16 Dec 2008 09:00:24 -0800
Subject: [Rd] "could not find function" error in "R CMD check"
In-Reply-To: <4947D41F.9040409@stats.uwo.ca>
References: <4947CF5C.7090702@pdf.com> <4947D41F.9040409@stats.uwo.ca>
Message-ID: <4947DEA8.9050101@pdf.com>

Hi, Duncan: 

      Thanks very much.  That fixed that problem. 

      I should have tried that myself;  I've heard essentially that 
suggestion before, but couldn't think of it in this case. 

      Best Wishes,
      Spencer Graves

Duncan Murdoch wrote:
> Using Martin's sourceDir() function (from example(source)), I found 
> your problem:  You have some test code in your R dir.
>
> smooth.bibasis.test.R :Error in basisfd(type = type, rangeval = 
> rangeval, nbasis = nbasis, params = params,  :
>   could not find function "use.proper.basis"
>
> That file smooth.bibasis.test.R probably belongs in the tests 
> directory, where it will be run after all the files have been sourced.
>
> Duncan Murdoch
>



[Rd] "could not find function" error in "R CMD check"
Spencer Graves