Re: [Rd] R CMD check should check date in description

From: Dirk Eddelbuettel <>
Date: Fri, 04 Apr 2008 22:24:24 -0500

On 4 April 2008 at 23:15, Antonio, Fabio Di Narzo wrote:
| 2008/4/4, Dirk Eddelbuettel <>:
| >
| > On 4 April 2008 at 14:05, hadley wickham wrote:
| > | I'm always forgetting to update the date in DESCRIPTION. Would it be
| > | possible to add a warning to R CMD check if it's old?
| >
| >
| > As I mentioned to Hadley in private mail, a version control system can update
| > a field like $Date$ or $LastChangedDate$ automagically on writes or
| > checkins. I use that as I also tend to forget to update the field manually.
| > For SVN one must set one of the arcane propset fields.
| That's not completely true. As far as I remember (git misses keywords)
| svn keywords are always referred only to the file they appear in. So
| this way the description file would contain the last date the
| description file itself has been modified, not the last date 'any of
| the package file s has been modified'.

I think you are correct. But as one has to augment the version number in DESCRIPTION anyway, the subsequent check-in will set the date for free.

It's a kludge, but one that has been working independently of R CMD ... for years.

Hth, Dirk

Three out of two people have difficulties with fractions.

______________________________________________ mailing list
Received on Sat 05 Apr 2008 - 03:35:06 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 05 Apr 2008 - 04:31:03 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive