Description Usage Arguments Author(s) Examples
Tic-toc logging
1 | log_tictoc(..., level = INFO, namespace = NA_character_)
|
... |
passed to |
level |
x |
namespace |
x |
Thanks to Neal Fultz for the idea and original implementation!
1 2 3 4 5 6 7 8 9 10 | ## 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.