tests/testthat/order.R

cat("1\n")
print("2")
warning("3")
print("4")
message("5")
stop("6")
stop("7", call. = FALSE)

f <- function(x) {
  print("8")
  message("9")
  warning("10")
  stop("11")
}
f()

Try the evaluate package in your browser

Any scripts or data that you put into this service are public.

evaluate documentation built on Nov. 2, 2023, 5:18 p.m.