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
Categories
LibrariesLicense
MIT LicenseFollow R Packages (r-pkgs)
Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud
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.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of R Packages (r-pkgs)!