RDocumentation
Moon
Learn R
Search all packages and functions
testthat (version 1.0.2)
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