Skip to content

modification time warning with R CMD check

4 messages · a296180@mica.fmr.com (David Kane, Thomas Lumley, Brian Ripley +1 more

#
I often get warnings like the following when running R CMD check

[...]
* checking for code/documentation mismatches ... OK
* checking tests ...
make: *** Warning: File `Makevars' has modification time in the future (2001-11-13 12:54:37.381546042 > 2001-11-13 12:54:37.314975985)
[...]

I am ready to believe that this is not a bug (i.e., that the timing on my
various machines and file systems is such that I am creating a Makevars with a
modification that is 0.07 seconds in the future from the perspective of the
machine that Perl is running on). However, I would think that a
warning would only be justified if this were far enough (1 second? 5 seconds?)
in the future to be "interesting".

I am running 1.3.1 on Solaris

mica|tmp> R --version
R 1.3.1 (2001-08-31).
Copyright (C) 2001 R Development Core Team

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the GNU
General Public License.  For more information about these matters,
see http://www.gnu.org/copyleft/gpl.html.


Thanks,

Dave Kane
#
On Tue, 13 Nov 2001, David Kane <David Kane wrote:

            
I get this too from time to time.  It's actually hard to tell what is
'uninteresting' in general. For example, Linux can create a file in about
50 microseconds on suitable hardware, so a 0.07s lag is easily enough that
files might in principle have been created in the wrong order, messing up
the make algorithm.

Fortunately in building R this sort of lag doesn't matter.
Unfortunately I don't know how to turn the warning off.

	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Tue, 13 Nov 2001, Thomas Lumley wrote:

            
It can do. I've had dependencies missed because of it. Maybe not 0.07sec,
but well under a second.
We used to have a rash of this.  We now run xntp, and provided that
has not died on our master server (not unknown), we seem to get no further
problems.
#
One way to stop it is to run on a slower machine. To really fix it, of course,
you are suppose to better synchronize your computer and file server clocks. More
seriously, I think it helps if your computer clock errs on the side of being
slightly ahead of the file server clock.

Paul Gilbert

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._