You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's pretty convenient actually.
Just came across this randomly when I was looking at the repo. For people looking for it in the future, here is an example.
library("tictoc")
tictoc::tic("Multiplying 2 numbers")
a <- 5698
b <- 67335
c <- a * b
tictoc::tic("Running a for loop in between to demonstrate nested tictoc")
for(i in base::seq(from = 0, to = 1000, by = 10)) {
print(i)
}
Not the author of the package, but in their defense, examples are present in both the help section accessed through ?tictoc::tic and package documentation on CRAN
But you might be right that the utility of the package and it's functions can also be present in readme for people coming across this package through github as compared to other sources.
How about some simple examples in the readme?
The text was updated successfully, but these errors were encountered: