Chapter 17 Packages

Note: Chapter under development

17.1 Pack it up

The ‘fundamental unit of shareable code’ is a package. At its core, a package is about automation, convenience, and integrity. Rather than copy-pasting, or repeating analytical steps, a package guarantees the same functions are available time and time again.

The best book on this topic is R Packages (2e) by Hadley Wickham and Jenifer Bryan.