Creates a hms_timer().
Value
A hms_timer().
See also
Other start_stop:
tmr_elapsed(),
tmr_is_started(),
tmr_is_stopped(),
tmr_print(),
tmr_reset(),
tmr_start(),
tmr_stop()
Examples
tmr_timer()
#> 00:00:00
tmr_timer(1, start = TRUE, title = "my timer")
#> 00:00:01
class(tmr_timer(2))
#> [1] "hms" "difftime"
str(tmr_timer(2, start = TRUE, title = "a timer"))
#> 'hms' num 00:00:02
#> - attr(*, "units")= chr "secs"
#> - attr(*, "title")= chr "a timer"
#> - attr(*, "start")= num 1.73e+09
