On Thu, 18 Jun 2009, Terry Therneau wrote:

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?

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?

--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to