For work and studies I have finally decided to take the plunge and start building an R-package.
The resources on how to do this:
Hilary Parker’s Writing and R package from scratch provides a short easy-to-get-started introduction.
Karl Broman’s R package primer – a minimal tutorial
Hadley Wickham’s R packages provides all the details.
From H. Parker – copied here so I can find it again easily