Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-19 Thread Michael Dewey
At 01:09 16/04/2010, mark.braving...@csiro.au wrote: Speaking as a copious generator of CMD CHECK notes: I don't see that there's a problem to be solved here-- i.e. I don't see why it's worth changing good code or adding conventions just to circumvent CMD CHECK notes. (If the code is bad, of

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-16 Thread Henrik Bengtsson
I think what people are also thinking about is that the policy for publishing a package on CRAN is that it have to pass R CMD check with no errors, warnings *or* notes. So, in that sense notes are no different from warnings. At least that's why I go about and add some rare ad hoc code patching

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-16 Thread John Fox
Dear all, I think that notes were introduced precisely to differentiate between situations that may be innocuous and those that are more serious, the latter producing warnings and errors. The Rcmdr package, for example, generates a whack of notes for code that works correctly and that I don't

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-16 Thread Simon Urbanek
On Apr 16, 2010, at 4:38 AM, Henrik Bengtsson wrote: I think what people are also thinking about is that the policy for publishing a package on CRAN is that it have to pass R CMD check with no errors, warnings *or* notes. Can you cite your reference, please? I see only (R-ext 1.5

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-16 Thread Thomas Lumley
On Fri, 16 Apr 2010, Simon Urbanek wrote: On Apr 16, 2010, at 4:38 AM, Henrik Bengtsson wrote: I think what people are also thinking about is that the policy for publishing a package on CRAN is that it have to pass R CMD check with no errors, warnings *or* notes. Can you cite your

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-16 Thread Henrik Bengtsson
On Fri, Apr 16, 2010 at 5:51 PM, Thomas Lumley tlum...@u.washington.edu wrote: On Fri, 16 Apr 2010, Simon Urbanek wrote: On Apr 16, 2010, at 4:38 AM, Henrik Bengtsson wrote: I think what people are also thinking about is that the policy for publishing a package on CRAN is that it have to

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-15 Thread luke
On Mon, 12 Apr 2010, William Dunlap wrote: -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Henrik Bengtsson Sent: Monday, April 12, 2010 8:24 AM To: Duncan Murdoch Cc: r-devel; Michael Dewey Subject: Re: [Rd] R CMD check tells

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-15 Thread Mark.Bravington
Speaking as a copious generator of CMD CHECK notes: I don't see that there's a problem to be solved here-- i.e. I don't see why it's worth changing good code or adding conventions just to circumvent CMD CHECK notes. (If the code is bad, of course it should be changed!) As the original poster

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-12 Thread William Dunlap
-Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Henrik Bengtsson Sent: Monday, April 12, 2010 8:24 AM To: Duncan Murdoch Cc: r-devel; Michael Dewey Subject: Re: [Rd] R CMD check tells me 'no visible binding for