Learn R Programming

testthatmulti (version 0.2.0)

ttm_n: Max number of attempts for ttm()

Description

Max number of attempts for ttm()

Usage

ttm_n()

Arguments

Value

int for ttm number of attempts

Examples

Run this code
ttm(100, {
  x <- runif(1)
  cat('ttm i =', ttm_i(), 'n =', ttm_n(), 'x =', x, '\n')
  ttm_expect_true(x < 0.1)
})

Run the code above in your browser using DataLab