[Rd] Minimal DESCRIPTION file

From: David Brahm <brahm_at_alum.mit.edu>
Date: Thu 26 Aug 2004 - 05:10:04 EST

My "g.data" contributed package fails under R-devel. g.data creates minimal packages which consist only of a "DESCRIPTION" file and the "R" and "data" subdirectories, but .find.package() now rejects them because the DESCRIPTION file lacks a "Version" field. I will fix g.data to add a "Version" field.

My question is, what else is necessary for a minimal package? "Writing R Extensions" states:

   "The `Package', `Version', `License', `Description', `Title', `Author',     and `Maintainer' fields are mandatory..." So should I really add all these (superfluous) fields, to avoid future rejection?

(A comment inside .find.package() refers to tools:::check_package_description, but I could not find such a function. Is there a plan for a universal package validator, and if so, what are its requirements?)

Bigger picture, will g.data be rendered obsolete by lazy loading?

                              -- David Brahm (brahm@alum.mit.edu)

R-devel@stat.math.ethz.ch mailing list
Received on Thu Aug 26 05:12:32 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 08:59:23 EST