Skip to content

R6P

0.4.0

Design Patterns in R

3packages depend
6.1Kdownloads / year
71.1%test coverage
13/13checks pass

Overview

About
Maintained by Harel LustigerFirst published 2021-01-195 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 59 s · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.34
71.1%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 475 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
0%
References docs
0%

Downloads

6.1K
CRAN downloads in the past year
Rank #8,434 · ~17/day · ~509/mo
Daily download trend is not available in this view yet.
27030 days
1.1K90 days
6.1K1 year
Compare downloads with other packages →
Also on118 r2u15 autocran1.7K conda_forge24 c2d4u

Repository

Repository
11Stars
0Forks
7Open issues
0Open PRs
3Releases
124Commits
1Contributors
rdesign-patternsddd
124 commits · Last activity 2024-12-22

Stars over time

2025-05-14 · 112026-07-07 · 11

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/tidylab/r6p on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
1indirect

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (1)
Copyright holder, Funder · added in 0.2.0
Funders (1)
Copyright holder, Funder · added in 0.2.0
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0Latest
    2024-12-22 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.0
    2022-10-02 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.2
    2021-08-03 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.0
    2021-02-01 · diff ↗
  • 0.1.1
    2021-01-19
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("R6P")
Lustiger, H., & Tidylab. (2024). R6P: Design Patterns in R (Version 0.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.R6P

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for R6P version 0.4.0 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy