New arguments to expect_snapshot_print()
:
fn_current
: A function to process the current snapshot
string before comparison.fn_target
: A function to process the target snapshot
string before comparison.review
: TRUE (default) to write the diff plot to file.
FALSE to return a failure but no file.style
argument to
expect_snapshot_plot()
and
expect_equivalent_images()
to control the style of the diff
image to print. Plot with “old”, “new”, and “diff” facets.ignore_white_space
argument in
expect_snapshot_print()
.mode
argument in
expect_snapshot_print()
diffobj
messagesdiffObj::diffPrint(guides = FALSE)
because
guides
generated errors in some long text comparisons.os
argument to skip tests on unspecified operating
systems.device_args
argument to pass additional arguments
to the device function.