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 :)

Thank you.

Bests,
Renaud

### Example on R-3.0.0.0

> package.skeleton('pkg')
Error in !have : invalid argument type
> package.skeleton('pkg', character())
Error in !have : invalid argument type
> package.skeleton('pkg', code_files=character())
Error in !have : invalid argument type
> package.skeleton('pkg', character())
Error in !have : invalid argument type

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to