Description Usage Arguments Value Examples
Plot the output from 'test_single_database' or 'test_database' as a ggplot2 object for easy visualization of test success or failure across databases.
1 2 3  | plot_tests(results)
plot_summary(results)
 | 
results | 
 Output from 'test_single_database' or 'test_database'  | 
list of ggplot2 objects / graphs
1 2 3 4 5  | con <- DBI::dbConnect(RSQLite::SQLite(), ":memory:")
tbl_data <- dplyr::copy_to(con, testdata)
res <- test_database(tbl_data, pkg_test("simple-tests.yml"))
plot_tests(res)
DBI::dbDisconnect(con)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.