dbtest.test_conoption to a valid db connection in order to overwrite
expect_sql_exists, which tests that the SQL query returns something.
expect_sql_equalsnow returns the data.frame rather than the individual result.
db_test_that, a safe test wrapper for isolating database actions.
db_test_conpasses along errors making for easier debugging.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.