tests/testthat/helper-options.R

rq <- function(...) {
  suppressPackageStartupMessages(require(..., quietly = TRUE))
}

with_options <- function(opts, expr) {
  old_opts <- options(opts)
  on.exit(options(old_opts))
  force(expr)
}

Try the GGally package in your browser

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

GGally documentation built on May 29, 2024, 8:29 a.m.