make_term: Make a new term object

Description Usage Arguments Value

Description

The function is an overall wrapper for creating objects with class of term. These are used as part of the process of adding custom terms.

Usage

1
make_term(subclass, ..., .prefix = "term_")

Arguments

subclass

A character string for the resulting class. For example, if subclass = "blah" the term object that is returned has class term_blah. Subclasses should describe the kind of term that is being created; for example, the term at the begining of the contract is called term_start.

...

All arguments to the term that should be returned.

.prefix

Prefix to the subclass created. Defaults to term_ which is reccomended.

Value

An contractual term with the new class.


jameslairdsmith/contractr documentation built on May 26, 2019, 9:32 a.m.