Skip to content

R6P

0.4.0

Design Patterns in R

3packages depend
5.4Kdownloads / year
71.1%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.4.0
  • Dropped dependency on purrr package
  • Uses "|>" and therefore requires R 4.1.0
  • Revamp function documentation to pass CRAN checks

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 58 s · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.0
READMEYes · 475 wordsVignettes· In the repository, left out of the releaseNEWSYes · 100% structured · mentions 0.4.0Citation fileYes · computed when R runs itWebsiteYes · pkgdown
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

5.4K
CRAN downloads in the past year
Rank #8,598 · ~15/day · ~449/mo
Daily download trend is not available in this view yet.
42230 days
1.1K90 days
5.4K1 year
Compare downloads with other packages →
Also on122 r2u5 autocran1.6K conda_forge45 c2d4u

Repository

11Stars
0Forks
7Open issues
0Open PRs
3Releases
124Commits
1Commit identities
rdesign-patternsddd
124 commits · Last activity 2024-12-22 · Discussions: 1 post
Responsiveness
How these are sampled
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

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

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Docs source (4)
README.Rmdpkgdown

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)

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect
Imports 3
Depends, Imports or LinkingTo, most downloaded first

People & History

People (2)
Author, Maintainer since 0.1.1 (2021)
Copyright holder, Funder · added in 0.2.0
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0Latest
    record
    2024-12-22 · current release · diff ↗ ·
    removed 2 exports
    %>%, %||%
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.0
    record
    2022-10-02 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.2
    record
    2021-08-03 · diff ↗ ·
    added 1 export
    %||%
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.0
    record
    2021-02-01 · diff ↗ ·
    added 2 exports
    NullObject, ValueObject
  • 0.1.1
    record
    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

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.

APA

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

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.

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