tests/testthat/setup.R

# `grim_plot_grid(split_by_digits = TRUE)` prints the plots it returns, and the tests
# print plots to check that drawing them raises no warnings. Running under
# `Rscript`/R CMD check, printing a plot with no device open implicitly opens
# the default `pdf()` device, writing an `Rplots.pdf` file into this directory.
# A null device absorbs that output instead:
grDevices::pdf(NULL)

Try the scrutiny package in your browser

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

scrutiny documentation built on Nov. 11, 2026, 1:09 a.m.