tests/testthat/setup.R

PREVIOUS_SETTINGS <- settings()
withr::defer({
  # print(PREVIOUS_SETTINGS)
  restore_init(PREVIOUS_SETTINGS)}, teardown_env())

Try the srcpkgs package in your browser

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

srcpkgs documentation built on May 29, 2024, 6:43 a.m.