From maechler at stat.math.ethz.ch  Wed Oct 26 09:16:29 2011
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Wed, 26 Oct 2011 09:16:29 +0200
Subject: [Rd] R CMD build - will reset the timestamps of all files in a
 package
In-Reply-To: <1319578461080-3938360.post@n4.nabble.com>
References: <BANLkTimC_Mb3FaseNavHqWmrJ3hSKnACkA@mail.gmail.com>
	<1319578461080-3938360.post@n4.nabble.com>
Message-ID: <20135.46029.155473.435795@stat.math.ethz.ch>

>>>>> Valentin Todorov <valentin.todorov at chello.at>
>>>>>     on Tue, 25 Oct 2011 14:34:21 -0700 writes:

    > After half a year of silence on this issue I would dare
    > ask again: is this intended, why and how can I avoid it?

    > Best regards, Valentin


    > ...  I wonder why (R version 2.13.0 and after) the command
    > "R CMD build" sets the timestamp of all files in the
    > package to the current date/time. This seems not to be
    > mentioned in the list of changes. Is there an option to
    > avoid this?  ...

Yes, upgrade to R 2.14.0 (now in "RC" = Release Candidate state)
or newer (and don't use Windows).
The 'NEWS' entry is

    ? R CMD build on a Unix-alike (only) now tries to preserve dates on
      files it copies from its input directory.  (This was the
      undocumented behaviour prior to R 2.13.0.)

Best regards,
and thanks for persevering ( and *NO thanks* for using Nabble :-( )

Martin



[Rd] R CMD build - will reset the timestamps of all files in a package
Martin Maechler