Skip to content
Prev 172504 / 398502 Next

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

Matthieu Stigler wrote:
Given I remember correctly without looking into the details:
It is the line number in the concatenated file (of all your .R files, by 
default sorted in a C locale).
Yes, this is probably the quickest way. source() them using a loop that 
reports which one fails.


You may want to try out R-devel which tells you which of your R files is 
the culprit.

Uwe Ligges