A Flexible and Robust Sys.sleep() Replacement
Safe sleep function
Provides a near drop-in replacement for base::Sys.sleep() that allows more types of input to produce delays in the execution of code and can silence/prevent typical sources of error.
Useful links