tests/testthat/setup.R

# op <- options(reprex.clipboard = FALSE, reprex.html_preview = FALSE)
#
# withr::defer(options(op), teardown_env())

withr::local_options(
  list(postcard.verbose = 0),
  .local_envir = teardown_env()
)

Try the postcard package in your browser

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

postcard documentation built on April 12, 2025, 1:57 a.m.