Re: [Rd] Minimal DESCRIPTION file

From: David Brahm <brahm_at_alum.mit.edu>
Date: Sat 28 Aug 2004 - 00:33:32 EST

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)

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sat Aug 28 00:53:41 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:10 EST