tests/testthat/setup.R

## Delete Rplots.pdf if it exists (if tails fail, it does not otherwise get deleted)

withr::defer(
  {
    if (file.exists("Rplots.pdf")) file.remove("Rplots.pdf")
  },
  teardown_env()
)

Try the IsoriX package in your browser

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

IsoriX documentation built on Nov. 14, 2023, 5:09 p.m.