Learn R Programming

testthat (version 3.2.2)

takes_less_than: Does code take less than the expected amount of time to run?

Description

This is useful for performance regression testing.

Usage

takes_less_than(amount)

Arguments

amount

maximum duration in seconds