R/timeCheck.R

Defines functions justTimeIt2 justTimeIt

justTimeIt <- function() {
  a <- 2 + 2
  Sys.sleep(time = 0.05)
  b <- a + a
  b
}

justTimeIt2 <- function() {
  a <- 2 + 2
  Sys.sleep(time = 0.3)
  b <- a + a
  b
}
analyticalmonk/PRDemo_Rperform documentation built on May 11, 2017, 1:11 a.m.