rpkgs (in GitHub via hadley/r-pkgs) is the source (text + examples) for the book R Packages by Hadley Wickham and Jenny Bryan. The book teaches how to develop, document, test, and share R packages: the practices, tools, infrastructure, workflows, and best practices around package development in R. The repository contains the code, text, site content for building the book, examples, exercises, etc.