R6P
R6P
is a collection of useful design patterns in RR6P
explains how a design pattern works and when to use a design
patternR6P
provides examples that show how to implement each design pattern
in RBuild 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.
This package is based on the work of Gamma1995, and Fowler2002.
You can install the released version of R6P from CRAN with:
install.packages("R6P")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("tidylab/R6P")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.