R/tictoc.R
toc.Rd
Use this function together with tic() to control time spent by functions
tic()
toc(units = "secs", digits = 2)
character, one of "auto", "secs", "mins", "hours", "days" and "weeks"
integer, number of decimals
numeric