[R] R CMD check detects parse error, but in which file?

Matthieu Stigler matthieu.stigler at gmail.com
Wed Mar 4 07:07:51 CET 2009


Hello

I looked on the archives but did not find answer for that...

Running R CMD check for a package, i get an error:

Error in parse(n = -1, file = file) : unexpected symbol at
3341: }

But how can I find which file is guilty? What is this 3342 referring to?

Finally the solution I found is to source() every file until I find the 
file where the problem is... Is there some better way to do it? With a 
debuger? thanks a lot!

Matthieu Stigler




More information about the R-help mailing list