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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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