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@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.