R6P
0.4.0Design Patterns in R
Overview
Build robust and maintainable software with object-oriented design patterns in R. Design patterns abstract and present in neat, well-defined components and interfaces the experience of many software designers and architects over many years of solving similar problems. These are solutions that have withstood the test of time with respect to re-usability, flexibility, and maintainability. 'R6P' provides abstract base classes with examples for a few known design patterns. The patterns were selected by their applicability to analytic projects in R. Using these patterns in R projects have proven effective in dealing with the complexity that data-driven applications possess.
- Dropped dependency on
purrrpackage - Uses "|>" and therefore requires R 4.1.0
- Revamp function documentation to pass CRAN checks
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 5 (1 internal)includes a package overview page
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 0%
- Help pages citing references
- 0% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 11
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/tidylab/r6p on 2026-10-11.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2021-08-05 · The repository has a site deploy workflow
pkgdown site last built 2021-08-05, before release 0.4.0 (2024-12-22)
Show all practicesHide 1 practice
Dependencies
Installing R6P adds 21 packages (13 with compiled code, 18 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, dplyr 902 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.4.0Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.3.02022-10-02 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.2.2
- RR 4.1.0 released · 2021-05-18
- 0.2.0
- 0.1.12021-01-19
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-01-19
- Total releases
- 5 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Download size
- 11 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("R6P")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.