R/waitFunction.R

Defines functions waitFor

Documented in waitFor

#' Slow function/script down
#'
#' @param x time to sleep (pause/wait)
#'
#' @return NULL
#' @export
#'
#' @examples waitFor(4.4)
waitFor <- function(x)
{
  p1 <- proc.time()
  Sys.sleep(x)
}
benjaminryanclarke/rDailyFantasy documentation built on May 24, 2019, 7:53 a.m.