You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon further evaluation, vdiffr has a lot of amazing features to enable comparisons across snapshots (side by side, slider, etc), so will use that indefinitely!
Is
vdiffr
still recommended overtestthat::expect_snapshot()
for testing plots (e.g.,ggplot2
objects)?I assume yes (per #617 (comment), #1265 (comment)) but wanted to confirm, since
testthat
has seen a lot of great enhancements in the snapshot realm :)Motivating example (modified from #1393): I was hoping (perhaps naively) to use:
But, this errors:
The text was updated successfully, but these errors were encountered: