How to develop a package in R?
Consult the following reference material:
- Chapter 1, Creating R packages, of the Writing R extensions manual. This is the canonical source. It's the ultimate reference point, but not necessarily the best starting point.
- A short presentation outlining the key ideas in package development and using the devtools package for development
- Hadley's devtools wiki, particular the Package basics section.
- The R help for
?package.skeleton
and?create
indevtools
. - The presentation by Uwe Ligges at
useR!2010
on package development. - R Packages by Hadley Wickham.