Skip to contents

Returns the elapsed time for a hms_timer() from the system time when the timer was started and the current system time as an hms time.

Usage

tmr_print(x, ..., print_title = TRUE)

Arguments

x

A hms_timer().

...

These dots are for future extensions and must be empty.

print_title

A flag specifying whether to print the title.

Value

A character string.

Details

The elapsed time is the value of the scalar plus the difference between the current system time and the system time when the timer was started.

See also

Examples

x <- tmr_start(tmr_timer())
tmr_print(x)
#> [1] "09:38:45 (+00:00:01 => 09:38:46)"