vtest provides a platform for testing graphical output from R packages. It is made up of three main parts:
Functions that you run to construct your visual tests suite:
vcontext()
, save_vtest()
, end_vcontext()
vtest()
to run a suite of visual tests and save the results locally
Functions to compare runs of tests and display differences.
Currently vtest only works with ggplot2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.