Skip to content

binding message from R CMD check

2 messages · Terry Therneau, Brian Ripley

#
When I run R CMD check on the survival package I get one error message that I 
have not been able to figure out:

    survfitCI: no visible binding for global variable 'n.nevent'

I've examined the code and can't see the problem -- the variable in question 
appears several times.  Is there as way to find out EXACTLY what line it objects 
to?

Terry T
#
On Thu, 18 Jun 2009, Terry Therneau wrote:

            
No, as it examines the parsed code (and codetools predates srcref 
records).  But grep finds only one occurrence in survival, at

gannet% grep -F n.nevent *
survfitCI.S:			 n.event=unlist(n.nevent),

Is it a typo for n.event?