nytnyt: Suspend execution of functions for a random time interval

View source: R/nytnyt.R

nytnytR Documentation

Suspend execution of functions for a random time interval

Description

Suspend execution of functions for a random time interval

Usage

nytnyt(period = c(1, 2), crayon_col = crayon::green, ...)

Arguments

period

Lower and upper limits of time interval (seconds) to suspend execution for. Uses stats::runif to pick time.

crayon_col

Uses the crayon package to select color of character string

...

Additional vectors or character strings passed to the end of the returned string

Value

A character string

Examples

nytnyt(period = c(2, 5), crayon_col = crayon::blue, "An example of a new string\n")

moamiristat/grocerycart documentation built on June 15, 2022, 10 a.m.