teatimer-package: Play a Sound After Some Time

Description

Description

This is a one-function package that will play a sound after a specified interval of time. It wraps around the function beepr::beep(). After a specified number of minutes or seconds it plays whatever sound is specified. Because it uses Sys.sleep() and audio may not play immediately, timing may not be precise. This is, however, sufficiently accurate for use on a cup of tea. If beepr::beep() is not able to play the sound a warning is issued rather than an error.


gzt/teatimer documentation built on June 5, 2019, 3:10 p.m.