[Rd] Minimal DESCRIPTION file

David Brahm brahm at alum.mit.edu
Wed Aug 25 21:10:04 CEST 2004

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

(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 at alum.mit.edu)

More information about the R-devel mailing list