From spencer.graves at pdf.com  Sun Nov  2 01:53:43 2008
From: spencer.graves at pdf.com (Spencer Graves)
Date: Sat, 01 Nov 2008 17:53:43 -0700
Subject: [Rd] cat: ./R/Copy: No such file or directory
In-Reply-To: <XFMail.081101161959.Ted.Harding@manchester.ac.uk>
References: <XFMail.081101161959.Ted.Harding@manchester.ac.uk>
Message-ID: <490CFA17.8000605@pdf.com>

Dear Ted: 

      Thanks very much.  In fact, I did have a file named "Copy of 
create.fourier.basis.R".  I deleted it and got an even more cryptic 
version of the same error message.  I ultimately traced this to lines 
like "<<<<<<< .working" inserted by subversion into a *.R or *.Rd file I 
was using.  I found this by finding a previous "*.tar.gz" file that 
passed "R CMD check", studying the subversion log of 7 different changes 
made by 3 people since that one that worked, and reviewing changes made 
to at least 13 different files in that period until I found the problem. 

      Best Wishes,
      Spencer

(Ted Harding) wrote:
> Just guessing here, but it looks as though an attempt has been made
> to execute the following command:
>
>   cat ./R/Copy of create.fourier.basis.R
>
> This may have arisen because there is indeed a file named
>
>   "Copy of create.fourier.basis.R"
>
> but the command was issued to the OS without quotes; or (perhaps
> less likely, because of the presence of the "./R/") the line
>
>   "Copy of create.fourier.basis.R"
>
> was intended as a comment in the file, but somehow got read as
> a substantive part of the code.
>
> Good luck!
> Ted.
>
> On 01-Nov-08 15:40:33, Spencer Graves wrote:
>   
>> Hello: 
>>
>>       What do you recommend I do to get past cryptic error messages
>> from 
>> "R CMD check", complaining "No such file or directory"?  The package is
>> under SVN control, and I reverted to a version that passed "R CMD 
>> check", without eliminating the error.  The "00install.out" file is 
>> short and bitter: 
>>
>>
>> cat: ./R/Copy: No such file or directory
>> cat: of: No such file or directory
>> cat: create.fourier.basis.R: No such file or directory
>> make: *** [Rcode0] Error 1
>>
>> ---------- Making package fda ------------
>>   adding build stamp to DESCRIPTION
>>   installing NAMESPACE file and metadata
>> make[2]: *** No rule to make target `R/Copy', needed by 
>> `D:/spencerg/statmtds/splines/fda/RForge/fda/fda.Rcheck/fda/R/fda'. 
>> Stop.
>> make[1]: *** [all] Error 2
>> make: *** [pkg-fda] Error 2
>> *** Installation of fda failed ***
>>
>> Removing 'D:/spencerg/statmtds/splines/fda/RForge/fda/fda.Rcheck/fda'
>>
>>      
>>       Thanks for any suggestions.  I have a "*.tar.gz" file that I hope
>> may not have this problem, but I'm not sure. 
>>
>>       Thanks,
>>       Spencer
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>     
>
> --------------------------------------------------------------------
> E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
> Fax-to-email: +44 (0)870 094 0861
> Date: 01-Nov-08                                       Time: 16:19:56
> ------------------------------ XFMail ------------------------------
>



[Rd] cat: ./R/Copy: No such file or directory
Spencer Graves