tests/testthat/helper.R

maybe_error <- function(code, ...) {
  tryCatch(code, error = function(e) expect_error(stop(e), ...))
}

Try the xml2 package in your browser

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

xml2 documentation built on July 9, 2023, 6:44 p.m.