Creates a hms_timer().

tmr_timer(seconds = 0, start = FALSE)

Arguments

seconds

A non-negative numeric scalar of the initial number of seconds.

start

A flag indicating whether to start the timer.

Value

A hms_timer().

See also

Examples

tmr <- tmr_timer()
print(tmr)
#> 00:00:00
class(tmr)
#> [1] "hms"      "difftime"