From brahm at alum.mit.edu  Fri Aug 27 16:33:32 2004
From: brahm at alum.mit.edu (David Brahm)
Date: Fri Aug 27 16:33:11 2004
Subject: [Rd] Minimal DESCRIPTION file
References: <6AF7541D27821A4BAB515245C1A2FEED02BA6F04@MSGBOSCLC2WIN.DMN1.FMR.COM>
Message-ID: <16687.17980.923129.296986@lwtc3.fmr.com>

I wrote:
> My "g.data" contributed package fails under R-devel...because the
> DESCRIPTION file [of packages it creates] lacks a "Version" field.
> My question is, what else is necessary for a minimal package?
> A comment inside .find.package() refers to tools:::check_package_description,
> but I could not find such a function.

Prof Brian D. Ripley <ripley@stats.ox.ac.uk> responded:
> It is tools:::.check_package_description
>               ^

Thank you!  I see the typo in the comment (line 690 of library.R) has now been
corrected.  .check_package_description() and "Writing R Extensions" both
clearly and consistently state that `Package', `Version', `License',
`Description', `Title', `Author', and `Maintainer' fields are mandatory, so I
have added these to the packages (DDP's) that g.data creates.

g.data_1.5.tar.gz is now available on CRAN.

Maybe someday I'll do a major re-write to use lazy loading, but not today...
-- 
                              -- David Brahm (brahm@alum.mit.edu)


[Rd] Minimal DESCRIPTION file
David Brahm