Learn R Programming

soobench (version 1.9.18)

number_of_evaluations: Retrieve evaluation counter

Description

Return the number of times a test function has been evaluated.

Usage

number_of_evaluations(fn)

Arguments

fn

[counting_function] A counting function as returned by counting_function.

Value

The current value of the evaluation counter.

Details

The test function must be wrapped by counting_function for this to work.