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

Spencer Graves spencer.graves at pdf.com
Tue Dec 16 18:00:24 CET 2008


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
>



More information about the R-devel mailing list