number_of_evaluations {soobench}R Documentation

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

Description

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

Usage

  number_of_evaluations(fun)

Arguments

fun

A counting_function as returned by counting_function.

Value

The current value of the evaluation counter.


[Package soobench version 1.0-73 Index]