[Rd] modification time warning with R CMD check

Prof Brian Ripley ripley@stats.ox.ac.uk
Tue, 13 Nov 2001 18:35:33 +0000 (GMT)


On Tue, 13 Nov 2001, Thomas Lumley wrote:

> On Tue, 13 Nov 2001, David Kane  <David Kane wrote:
>
> > 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 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.

It can do. I've had dependencies missed because of it. Maybe not 0.07sec,
but well under a second.

> Unfortunately I don't know how to turn the warning off.

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.

-- 
Brian D. Ripley,                  ripley@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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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