checked_frame_class: Create subclasss of 'CheckedFrame'

Description Usage Arguments Value

Description

This function creates a class which directly extends CheckedFrame.

Usage

1
2
  checked_frame_class(Class, checks = TableChecks(), ...,
    where = topenv(parent.frame()))

Arguments

Class

character Name of the new class.

checks

TableChecks. Contains the constraints that will be used to check the validity of data frames in this class.

where

Passed to setClass. The environment in which to store the definition.

...

Arguments overrides the slot values in checks.

Value

Invisibly returns a constructor function for the new class.


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