
Last chance! 50% off unlimited learning
Sale ends in
## Not run:
# fn <- function(i) {
# x <- sample(1:4, 1)
# flog.info("x = %s",x)
# if (x < 4) stop('stop') else x
# }
# ntry(fn, 6)
# ## End(Not run)
Run the code above in your browser using DataLab