tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgtools/R2pkg package



I seem to make R packages fairly often, which generally are mostly boilerplate with much of the information coming from a well-known source: the CRAN DESCRIPTION file.  To ease the burden I have created a package (currently named pkgtools/R2pkg) that basically downloads the DESCRIPTION file, parses it, and constructs a skeleton package much as url2pkg does.  The core of the package is a simple shell script that runs R for parts of the task.  The man page is attached.

Before committing this to pkgsrc, I would appreciate design (or other constructive) comments.  My hope is that this will encourage others to make R packages so a greater fraction of CRAN will eventually be covered.  Even though R has its own internal packaging system, I find it useful to deploy everything via a single interface, i.e., pkgsrc.

Thanks for your input.

Cheers,
Brook

Attachment: R2pkg.pdf
Description: Adobe PDF document



Home | Main Index | Thread Index | Old Index