tests/testthat/test_packages/r_err_2/R/foo.R

f1 <- function(x) {
  # notranslate end
  base::warning("I warned you!")
  x+1
  # notranslate start
}

Try the potools package in your browser

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

potools documentation built on Nov. 2, 2023, 5:20 p.m.