[R] R CMD check: no visible binding for global variable
    Rolf Turner 
    rolf.turner at xtra.co.nz
       
    Tue May 17 01:46:37 CEST 2011
    
    
  
Follow-up to my previous message; just remembered another work-around
for the ``no visible binding'' note.
Wrap up your calls that involve "annotIndex" in text strings and then
evaluate these strings.
E.g.:
     xxx <- "y <- x + annotIndex"
     eval(parse(text=xxx))
That will fool the package checker! :-)
Might be more efficient than my suggestion of using ``get()''.
     cheers,
         Rolf Turner
    
    
More information about the R-help
mailing list