[R] Messge ``no visible binding''.

From: Rolf Turner <r.turner_at_auckland.ac.nz>
Date: Tue, 01 Jul 2008 15:44:32 +1200

I have written a function make.fun(), which I keep in my personal ``miscellaneous'' package. It searches the current working directory for files named ``*.R'' and sources them if their modification date is later than the date stored in ``.Last.make.date''. (The variable
.Last.make.date then gets updated.) The function checks whether
.Last.make.date exists before comparing its value with the modification
dates of the *.R files.

When I do R CMD check on my ``miscellaneous'' package, I get a ``NOTE'' (not even a warning!) to the effect:

        ``no visible binding for global variable '.Last.make.date'

Is this something that I should worry about at all? Am I running any risk by this procedure? Is there a better way to check whether code file have modified sufficiently recently that they need to be re-sourced?

Thanks for any tips. (But no asparagus, please! :-) )

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 01 Jul 2008 - 04:40:04 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 01 Jul 2008 - 15:31:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive