log_time: Create string with elapsed time.

View source: R/logging.R

log_timeR Documentation

Create string with elapsed time.

Description

Create a glue object with the elapsed time between start and end.

Usage

log_time(text, start = Sys.time(), end = Sys.time(), digits = 1, ...)

Arguments

text

Character value. The text for the header.

start

Start date and time.

end

End date and time.

digits

Integer value. The number of digits for rounding.

Value

Character value.


ahaeusser/tscv documentation built on Dec. 25, 2024, 10:11 a.m.