From murdoch at stats.uwo.ca  Tue Dec 16 17:15:27 2008
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Tue, 16 Dec 2008 11:15:27 -0500
Subject: [Rd] "could not find function" error in "R CMD check"
In-Reply-To: <4947CF5C.7090702@pdf.com>
References: <4947CF5C.7090702@pdf.com>
Message-ID: <4947D41F.9040409@stats.uwo.ca>

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"
Duncan Murdoch