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

From: Spencer Graves <>
Date: Tue, 16 Dec 2008 09:00:24 -0800

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
> mailing list Received on Tue 16 Dec 2008 - 17:43:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 18 Dec 2008 - 02:31:18 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive