tests/testthat/teardown.R

# Restore stderr after tests (full builds only).
if (.Platform$OS.type == "unix" && exists(".cgvR_saved_fd", inherits = FALSE)) {
  .Call("C_cgv_restore_stderr", .cgvR_saved_fd, PACKAGE = "cgvR")
}

Try the cgvR package in your browser

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

cgvR documentation built on May 12, 2026, 1:06 a.m.