DataFramePlus: DataFrameConstr package

Description Details

Description

This package defines two S4 classes

Details

  1. 'HomogList': a list in which all elements must be the same class

  2. 'DataFrameConst': a data frame with optional required columns and classes, or general constraints.

For each of these classes, there are functions that easily create a subclass.

It also defines the most common methods [<-, [[<-, $<-, c, cbind2, rbind2 for these classes so that the constraints are checked when data in the objects are updated.

See https://github.com/jrnold/DataFrameConstr for example code.


jrnold/r-checker documentation built on May 20, 2019, 1:04 a.m.