Look at Luke Tierney's codetools package.
https://stat.ethz.ch/pipermail/r-devel/2003-July/027103.html
It is useful, and has been run over R itself several times.
On Mon, 11 Apr 2005, Vivek Rao wrote:
An R script will terminate when one tries to use an
undefined variable, with a message such as
Err
t;
To:
Sent: Monday, April 11, 2005 4:18 PM
Subject: [R] static analysis tools for R code?
An R script will terminate when one tries to use an
undefined variable, with a message such as
Error in print(x) : Object "x" not found
This run-time error might occur after the script has
alread
ek Rao" <[EMAIL PROTECTED]>
To:
Sent: Monday, April 11, 2005 4:18 PM
Subject: [R] static analysis tools for R code?
An R script will terminate when one tries to use an
undefined variable, with a message such as
Error in print(x) : Object "x" not found
This run-time error might o
An R script will terminate when one tries to use an
undefined variable, with a message such as
Error in print(x) : Object "x" not found
This run-time error might occur after the script has
already been running for some time. In some cases it
would be nice to get such warnings before the script
i