Utility functions useful for package default behavior. 'pkg_test' returns the path to tests from the 'dbtest' package. 'pkg_config' returns the path to connection config from the 'dbtest' package. 'all_tests' returns the path to all .yml or .yaml files in a given directory. The default is to return all tests in the 'dbtest' package
1 2 3 4 5 6 7 | pkg_test(file = "simple-tests.yml")
all_tests(dir = system.file("extdata", "tests", package = "dbtest"))
pkg_config(file = "config.yml")
pkg_skip(file = "skip-example.yml")
|
file |
optional The file to reference at the default location |
dir |
optional The directory for which to show all_tests |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.