Skip to content
Prev 36443 / 63424 Next

R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

On Fri, 16 Apr 2010, Simon Urbanek wrote:

            
In my experience, if a package is new or previously checked without notes, the CRAN maintainers will likely ask you to look at them to make sure they aren't problems, but there isn't any difficulty in getting a package on CRAN if it has notes.  A whole lot of packages on CRAN have notes even when checked on r-release.

CMD check notes are the R equivalent of old-time lint warnings in C, and as the First Commandment says:
 	 Thou shalt run lint frequently and study its pronouncements with care, for verily its perception and judgement oft exceed thine.
and the prophet (Henry Spencer) expands on this:
  ``Study'' doth not mean mindless zeal to eradicate every byte of lint output-if for no other reason, because thou just canst not shut it up about some things-but that thou should know the cause of its unhappiness and understand what worrisome sign it tries to speak of.


          -thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle