Re: [Rd] bug in R CMD INSTALL do_install under OS X

2008-12-16 Thread David Rossell
You're right William, unsetting the CDPATH variable does the trick. The R INSTALL script should unset it to avoid the problem. Thanks a lot, David On Mon, Dec 15, 2008 at 9:29 PM, William Dunlap wrote: > This problem could be caused by having CDPATH set. E.g., > > % env CDPATH=. ~/R-svn/r-d

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

2008-12-16 Thread Spencer Graves
Hi, All: What might cause "R CMD check" to report, "could not find function" for a function that has long been in the 'fda' package? Both Jim Ramsay in Ottawa, Canada, and I in San Jose, CA, get this same error. I replicated it with a fresh, anonymous checkout from R-Forge (svn ch

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

2008-12-16 Thread Duncan Murdoch
On 16/12/2008 10:55 AM, Spencer Graves wrote: Hi, All: What might cause "R CMD check" to report, "could not find function" for a function that has long been in the 'fda' package? I would guess that you are calling it from within your *.R files. It's called from a lot of places, so I

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

2008-12-16 Thread Duncan Murdoch
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 smoot

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

2008-12-16 Thread Spencer Graves
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 ex