Description Usage Arguments Value Examples
View source: R/check-elapsed-time.R
Creates a set of printed results for displaying the time it takes to run a long process
Rounds to the nearest hundreth of a second, so not suitible for very short processes
Note that this print
s. Do not use unless you are expecting that.
1 | check_elapsed_time(last_time, start_time)
|
last_time |
**optional** object of class |
start_time |
**optional** object of class |
results of Sys.time()
1 2 3 4 5 | ptm <- Sys.time()
Sys.sleep(4)
checkpoint <- check_elapsed_time(start_time = ptm)
Sys.sleep(8)
checkpoint <- check_elapsed_time(last_time = checkpoint, start_time = ptm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.