Learn R Programming

testthat (version 2.2.1)

takes_less_than: Expectation: does expression take less than a fixed amount of time to run?

Description

This is useful for performance regression testing.

Usage

takes_less_than(amount)

Arguments

amount

maximum duration in seconds