From ggrothendieck at gmail.com  Fri Apr  4 22:01:32 2008
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Fri, 4 Apr 2008 16:01:32 -0400
Subject: [Rd] R CMD check should check date in description
In-Reply-To: <f8e6ff050804041254v68b476d2i20369d50fc03d53e@mail.gmail.com>
References: <f8e6ff050804041205i18227c9dq41dbe5c4241b5605@mail.gmail.com>
	<18422.32988.112442.175233@fangorn.hornik.net>
	<f8e6ff050804041254v68b476d2i20369d50fc03d53e@mail.gmail.com>
Message-ID: <971536df0804041301x40b02d25rba336475ccf6c7d1@mail.gmail.com>

I think its somewhat inspiring to be able to get R CMD check to the
point that there are no warnings so having a situation where a warning
is ok would interfere with that.

On Fri, Apr 4, 2008 at 3:54 PM, hadley wickham <h.wickham at gmail.com> wrote:
> >  I recently thought about this.  I see several issues.
> >
> >  * How can we determine if it is "old"?  Relative to the time when the
> >   package was uploaded to a repository?
> >
> >  * Some developers might actually want a different date for a variety of
> >   reasons ...
> >
> >  * What we currently say in R-exts is
> >
> >      The optional `Date' field gives the release date of the current
> >      version of the package.  It is strongly recommended to use the
> >      yyyy-mm-dd format conforming to the ISO standard.
> >
> >   Many packages do not comply with the latter (but I have some code to
> >   sanitize most of these), and "release date" may be a moving target.
> >
> >  The best that I could think of is to teach R CMD build to *add* a Date
> >  field if there was none.
>
> That sounds like a good solution to me.  Otherwise, maybe just a
> message from R CMD check?  i.e. just like failing the codetools
> checks, it might be perfectly ok, but you should be doing it
> consciously, not by mistake.
>
>
> Hadley
>
>
> --
> http://had.co.nz/
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] R CMD check should check date in description
Gabor Grothendieck