log_tictoc | R Documentation |
Tic-toc logging
log_tictoc(..., level = INFO, namespace = NA_character_)
... |
passed to |
level |
see |
namespace |
x |
Thanks to Neal Fultz for the idea and original implementation!
## Not run:
log_tictoc('warming up')
Sys.sleep(0.1)
log_tictoc('running')
Sys.sleep(0.1)
log_tictoc('running')
Sys.sleep(runif(1))
log_tictoc('and running')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.