Skip to content
Prev 62963 / 63424 Next

WRE Date field & CRAN

Hi Duncan,

Thanks for the fast check and reply.

Indeed, the documentation is correct. I just think it can be interpreted as
saying Date is required to submit to CRAN.
Some package maintainers have been using the Date field, probably
interpreting this section this way because if you read the main text and
the footnote all together it says:

"The optional ?Date? field gives the *release date* of the current version
of the package. It is strongly recommended [and required by CRAN, so
checked by R CMD check --as-cran.] to use the ?yyyy-mm-dd? format
conforming to the ISO 8601 standard."

The footnote could be moved to the end of the sentence to clarify CRAN's
requirements are about the format not the field.
So it is read as:

"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 8601 standard [and required by CRAN, so checked by R
CMD check --as-cran.]."

I think the later is more clear to the package developers reading the WRE.

Llu?s


On Sun, 6 Apr 2025 at 17:40, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote: