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

Martin Maechler maechler at stat.math.ethz.ch
Wed Oct 26 09:16:29 CEST 2011


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



More information about the R-devel mailing list