get_elapsed_time_str: Format the elapsed time since a start time

View source: R/get_elapsed_time_str.R

get_elapsed_time_strR Documentation

Format the elapsed time since a start time

Description

Taken from github.com/rmsharp/rmsutilityr

Usage

get_elapsed_time_str(start_time)

Arguments

start_time

a proc_time object as returned by proc.time()

Value

A character vector describing the passage of time in hours, minutes, and seconds.

Examples

start_time <- proc.time()
## do something
elapsed_time <- get_elapsed_time_str(start_time)

nprcgenekeepr documentation built on July 26, 2026, 5:06 p.m.