stipulate: Add a stipulation to a contract

Description Usage Arguments Value

View source: R/stipulation.R

Description

The function allows for the adding of a stipulation to the list of stipulations in a contract. This is most useful when used as a wrapper together with add_term() and make_term() for creating a custom term type.

Usage

1
stipulate(contract, stipulation_value, stipulation_name)

Arguments

contract

The contract to which the stipulation is to be added.

stipulation_value

The value of the stipulation.

stipulation_name

The name of the stipulation.

Value

A updated contract with the new stipulation in the last slot.


jameslairdsmith/contractr documentation built on Nov. 5, 2018, 9:40 p.m.