Skip to contents

Display to the user the workflow has begun, the function that launched it, and start the stopwatch to track execution time,

Usage

cli_stopwatch_start(package = "devgru", function_name)

Arguments

package

What is the package of the function, default: devgru

function_name

What is the function name

Value

CLI message and start time of process run

Examples

process_start <- cli_stopwatch_start(package = "devgru", function_name = "workflow_demo_func")
#> ── Start ───────────────────────────────────────────────────────────────────────
#> devgru :: workflow_demo_func() 2026-10-29 05:47:21.459527
process_start
#>    user  system elapsed 
#>  13.833   1.540  16.618