From edd at debian.org  Sun Apr 14 13:51:38 2013
From: edd at debian.org (Dirk Eddelbuettel)
Date: Sun, 14 Apr 2013 06:51:38 -0500
Subject: [Rd] Empty package skeleton
In-Reply-To: <CAHavPHFpYHbCvvfki741fug+Ez_m5-b_z+OSUTY5HKoMD7m_Sw@mail.gmail.com>
References: <CAHavPHFpYHbCvvfki741fug+Ez_m5-b_z+OSUTY5HKoMD7m_Sw@mail.gmail.com>
Message-ID: <20842.38986.112629.16896@max.nulle.part>


On 14 April 2013 at 14:10, Renaud Gaujoux wrote:
| Hi,
| 
| I know this has been reported/asked before (
| http://tolstoy.newcastle.edu.au/R/e15/devel/11/10/0831.html) but it would
| still be just nice to have a fix for the not user-friendly fact that one
| cannot create a completely empty package skeleton (see previous post for a
| suggested patch).
| 
| In the same vein, I would add to the original suggestion from Herve Pages
| that it would be nice to have a quick way to create an empty package
| skeleton, skipping all objects possibly defined in .GlobalEnv, e.g.
| "package.skeleton('pkg', NA)", although I believe Herve's patch would
| automatically allow/handle a call like "package.skeleton('pkg',
| character())".
| 
| Conclusion, nothing urgent, which could be done in 1min spare time, but
| could save 1min to many friendly future package developers :)

I am also willing to help here as I do not like the fact that the generated
Rd file itself is broken.  A hint from R Core that clean patches would be
taken would be welcomed...

[ And I often call package.skeleton() from a fresh session, that is pretty
close to creating an empty package. ]

Dirk 

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



[Rd] Empty package skeleton
Dirk Eddelbuettel