tmr_print: Print hms Timer

View source: R/print.R

tmr_printR Documentation

Print hms Timer

Description

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.

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.

Value

A character string.

See Also

Other start_stop: tmr_elapsed(), tmr_is_started(), tmr_is_stopped(), tmr_reset(), tmr_start(), tmr_stop(), tmr_timer()

Examples

x <- tmr_start(tmr_timer())
tmr_print(x)

poissonconsulting/hmstimer documentation built on Nov. 20, 2024, 10:02 p.m.