makeTerminator: Generate stopping condition.

Description Usage Arguments Value

Description

Wrap a function within a stopping condition object.

Usage

1
makeTerminator(condition.fun, name, message)

Arguments

condition.fun

[function]
Function which takes an environment OptPath as its only parameter and return a single logical.

name

[character(1)]
Identifier for the stopping condition.

message

[character(1)]
Message which should be stored in the termination object, if the stopping condition is met.

Value

[ecr_terminator]


jakobbossek/ecr documentation built on May 18, 2019, 9:09 a.m.