Re: [Rd] globalVariables()

2012-06-24 Thread John Fox
Dear r-devel list members, To answer my own question, replacing <<- with explicit assign()s seem to do the trick. As well, the quickly written function that I posted had a couple of problems (and may well have more, though the version posted below works on the packages I tried); here's an impr

[Rd] globalVariables()

2012-06-23 Thread John Fox
Dear r-devel list members, By placing a call to the new (with R 2.15.1) globalVariables() in the development version of the Rcmdr package, I've succeeded in reducing the "notes" produced by R CMD check from dozens to two. But I still get the following notes, even though '.commander.done' is in

[Rd] globalVariables()

2012-04-27 Thread John Chambers
There have been several threads on this list about the Notes generated in the check process regarding "global variables" with no visible definition. These can be useful but false positives tend to obscure valid notes. The function globalVariables() has been added to the utils package, in the