[R] Messge ``no visible binding''.
Rolf Turner
r.turner at auckland.ac.nz
Tue Jul 1 05:44:32 CEST 2008
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}}
More information about the R-help
mailing list