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. It is not a software library to be loaded in R (except perhaps the examples), but a resource/guide/manual. The first edition is no longer available online. A second edition is under development and available.

Features

  • Instructional content covering how to structure R packages (directories, dependencies, namespace, versioning etc.)
  • Guidance on documentation (using roxygen2), tests (using testthat), and continuous integration / quality workflows etc.
  • Examples / code snippets; sample package template content so learners can see working code and reproduce examples
  • Provides advice on package release, versioning, licensing, naming, dependency management etc.
  • Built using Quarto / site generation tools for book / web content so includes configuration, site setup etc.
  • It is libre contents, open source, encourages contributions, has exercises etc. for learners

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow R Packages (r-pkgs)

R Packages (r-pkgs) Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of R Packages (r-pkgs)!

Additional Project Details

Programming Language

R

Related Categories

R Libraries

Registered

2025-09-12