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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

--------------------------------------------------------------------
E-Mail: (Ted Harding) <[EMAIL PROTECTED]>
Fax-to-email: +44 (0)870 094 0861
Date: 01-Nov-08                                       Time: 16:19:56
------------------------------ XFMail ------------------------------


______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to